Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This is my config of NS. SOA
86400; NS NS A A

Both zone1 & zone2 have registered name server in Enom domain control panel.

My problem is, one domain .lv cant not change DNS to my NS. They said:

Error : Nameserver cannot be queried for SOA
Error : Nameserver cannot be queried for SOA

Please help me, how to fix it ?

share|improve this question
What is the domain you are trying to point to the DNS? If you can provide us with that detail, we can probably diagnose the issue easier. – Mark Henderson May 19 '10 at 3:43
he already did - it's in the SOA record above – Alnitak May 19 '10 at 15:37

The error being reported is because your two servers (zone1 and zone2 above) are not correctly serving your zone file:

% dig +norec @ soa

; <<>> DiG 9.6.0-APPLE-P2 <<>> +norec @ soa
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 5139
;; flags: qr; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

This may be because of the semi-colon issue pointed out by @Dom - in which case the server logs on those two boxes should tell you that. If you're running BIND, use named-checkzone to check the syntax of your zone files.

If you've actually got the right syntax now, but it's still not working, you need to look at the ACLs in your server - make sure that you're actually permitting access to that zone from (aka "any").

share|improve this answer

If your are in bind format, the SOA must not have semicolon between the fields. In my case, it is :

 @       SOA ( 2010051802 3600 900 604800 3600 )
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.