[nsd-users] strange error

Andrey Scopenco nsd at mchost.ru
Wed Nov 28 12:05:07 UTC 2012


Hello,

I have dns zone domain.com configured on nsd server.
If a try #dig axfr @localhost domain.com then i receive correct answer, 
but if i try #dig a @localhost domain.com then i received nothing but 
should be 127.0.0.1

How can i troubleshoot this problem?


output:

[root at ns1 ~]# dig axfr @localhost domain.com

; <<>> DiG 9.8.3-P1-RedHat-9.8.3-2.P1.fc15 <<>> axfr @localhost domain.com
; (1 server found)
;; global options: +cmd
domain.com.           3600    IN      SOA     ns1.domain.ru. 
support.domain.ru. 2011030700 10800 3600 604800 86400
domain.com.           3600    IN      TXT     "v=spf1 ip4:46.30.40.29 a 
mx ~all"
domain.com.           3600    IN      NS      ns1.domain.ru.
domain.com.           3600    IN      NS      ns2.domain.ru.
domain.com.           3600    IN      NS      ns3.domain.ru.
domain.com.           3600    IN      NS      ns4.domain.ru.
domain.com.           3600    IN      MX      10 mail.domain.com.
domain.com.           3600    IN      A       127.0.0.1
mail.domain.com.      3600    IN      A       127.0.0.1
www.domain.com.       3600    IN      A       127.0.0.1
domain.com.           3600    IN      SOA     ns1.domain.ru. 
support.domain.ru. 2011030700 10800 3600 604800 86400
;; Query time: 23 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Nov 28 15:27:04 2012
;; XFR size: 11 records (messages 1, bytes 311)

[root at ns1 ~]#
[root at ns1 ~]#
[root at ns1 ~]# dig a @localhost domain.com

; <<>> DiG 9.8.3-P1-RedHat-9.8.3-2.P1.fc15 <<>> a @localhost domain.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 18256
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;domain.com.                  IN      A

;; Query time: 2 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Nov 28 15:58:50 2012
;; MSG SIZE  rcvd: 30



-- 
Andrey Scopenco
----------------------------------------------------------------------
http://www.mchost.ru



More information about the nsd-users mailing list