why dig +short for NS doesn't get the result

terry terry at list.dnsbed.com
Tue Mar 1 03:55:07 UTC 2011


server1:/var/cache/bind# dig ox.test.nsbeta.info ns @localhost +short

# got nothing here


server1:/var/cache/bind# dig ox.test.nsbeta.info ns @localhost

; <<>> DiG 9.6-ESV-R3 <<>> ox.test.nsbeta.info ns @localhost
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53460
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;ox.test.nsbeta.info.           IN      NS

;; AUTHORITY SECTION:
ox.test.nsbeta.info.    20222   IN      NS      dwdns1.nsbeta.info.

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Mar  1 11:51:21 2011
;; MSG SIZE  rcvd: 58


I have setup the NS for ox.test.nsbeta.info zone, why dig +short gets
nothing but dig does get the result?

Thanks.



More information about the bind-users mailing list