[Pdns-users] NS lookup query

Graham White graham at bravenet.com
Thu May 8 18:43:53 UTC 2003


Just wondering if anyone else had seen anything like this. I setup a domain example.com and run some test queries against it. Every dns query test works except when
looking specifically for NS records. Examples are below:

 dig example.com mx 
 
; <<>> DiG 9.2.1 <<>> example.com mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6773
;; flags: qr aa rd; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 2
 
;; QUESTION SECTION:
;example.com.                   IN      MX
 
;; ANSWER SECTION:
example.com.            3600    IN      MX      10 mail1.bravehost.com.
example.com.            3600    IN      MX      20 mail2.bravehost.com.
 
;; ADDITIONAL SECTION:
mail1.bravehost.com.    172800  IN      A       192.168.50.20
mail2.bravehost.com.    172800  IN      A       192.168.50.21
------------------------------------------

dig example.com any

; <<>> DiG 9.2.1 <<>> example.com any
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12944
;; flags: qr aa rd; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 4

;; QUESTION SECTION:
;example.com.                   IN      ANY
 
;; ANSWER SECTION:
example.com.            3600    IN      SOA    ns1.bravehost.com. dnsadmin.bravehost.com. 20030201 28800 7200 1209600 3600
example.com.            3600    IN      A        192.168.150.3
example.com.            3600    IN      NS      ns1.bravehost.com.
example.com.            3600    IN      NS      ns2.bravehost.com.
example.com.            3600    IN      MX      10 mail1.bravehost.com.
example.com.            3600    IN      MX      20 mail2.bravehost.com.
 
;; ADDITIONAL SECTION:
ns1.bravehost.com.       172800  IN     A       192.168.150.4
ns2.bravehost.com.       172800  IN     A       192.168.150.5
mail1.bravehost.com.    172800  IN      A       192.168.150.20
mail2.bravehost.com.    172800  IN      A       192.168.150.21

-----------------
dig example.com ns

; <<>> DiG 9.2.1 <<>> example.com ns
;; global options:  printcmd
;; connection timed out; no servers could be reached

tcpdump shows this for the unsuccessful ns lookup:
11:39:50.157809 naslund.vc.bravenet.com.34489 > cooke.vc.bravenet.com.domain:  34348+ NS? example.com. (29) (DF)
11:39:55.158272 naslund.vc.bravenet.com.34489 > cooke.vc.bravenet.com.domain:  34348+ NS? example.com. (29) (DF)

and for the successful mx lookup:
11:41:11.660811 naslund.vc.bravenet.com.34489 > cooke.vc.bravenet.com.domain:  50412+ MX? example.com. (29) (DF)
11:41:11.664669 cooke.vc.bravenet.com.domain > naslund.vc.bravenet.com.34489:  50412*- 2/0/2 MX mail1.bravehost.com. 10, MX mail2.bravehost.com. 20 (115) (DF)

The other odd thing is that I can do an ns lookup on the bravehost domain which is in the same database with out any problem.
Same results from remote name server lookup clients. This is on a RedHat 7.3 box with a mysql backend and using powerdns 2.9.8 static rpm.

Any ideas would be greatly appreciated. 

Graham W.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20030508/0b73de90/attachment.html>


More information about the Pdns-users mailing list