[nsd-users] strange behavior of nsd

Андрей Скопенко andrey at scopenco.net
Tue Apr 22 17:09:58 UTC 2014


Hello,

please explain me, how can be that situation:

$ dig axfr @someserver.domain2.com domain1.com | grep user1.domain1.com
user1.domain1.com.     300     IN      NS      ns1.domain2.com.
user1.domain1.com.     300     IN      NS      ns2.domain2.com.
user1.domain1.com.     300     IN      NS      ns3.domain2.com.
user1.domain1.com.     300     IN      NS      ns4.domain2.com.

but if i try 

$ dig ns @someserver.domain2.com user1.domain1.com
                                                            
; <<>> DiG 9.9.4-P1 <<>> ns @bill1.corp.domain2.com user1.domain1.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37994
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 4, ADDITIONAL: 1
;; WARNING: recursion requested but not available

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;user1.domain1.com.            IN      NS

;; AUTHORITY SECTION:
user1.domain1.com.     300     IN      NS      ns1.domain2.com.
user1.domain1.com.     300     IN      NS      ns2.domain2.com.
user1.domain1.com.     300     IN      NS      ns3.domain2.com.
user1.domain1.com.     300     IN      NS      ns4.domain2.com.

;; Query time: 0 msec
;; SERVER: 46.30.40.31#53(46.30.40.31)
;; WHEN: Tue Apr 22 21:05:40 MSK 2014
;; MSG SIZE  rcvd: 128

i mean no answer, only authority section. How it can be?

nsd.conf section:
zone:
        name: "domain1.com"
        zonefile: "./domain1.com.db"
        provide-xfr: ::1 NOKEY
        provide-xfr: 127.0.0.1 NOKEY
        provide-xfr: someserver.domain2.com NOKEY


NSD 4.0.3


Thank you!
A.




More information about the nsd-users mailing list