On 03/01/11 04:55, terry wrote: > 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.
Look where the answer is > > ;; 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? +short instructs dig to only write extract of ANSWER section. your reply is in authorative section. Torinthiel
signature.asc
Description: OpenPGP digital signature
_______________________________________________ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users