Can't directory query NS type from nds server.
Sury Bu
bushurui at gmail.com
Tue Aug 13 07:20:06 UTC 2013
Hi All,
Why the father DNS server put the children‘s NS resources in the Authority
RR section, but not in the Answer RR section?
For example, I have defined a ourfirst.org.zone in my father DNS server, it
contians "support.ourfrist.org. IN NS ns.ourfirst.org record."
[root at tester1 named]# cat ourfirst.org
$TTL 1D
@ IN SOA @ rname.invalid. (
0 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H ) ; minimum
IN NS @
IN A 192.168.122.92
support.ourfirst.org. IN NS ns.ourfirst.org.
ns.ourfirst.org. IN A 192.168.122.27
When I use host -a support.ourfirst.org 192.168.122.92, the result contains
following:
;; AUTHORITY SECTION:
support.ourfirst.org. 86400 IN NS ns.ourfirst.org.
;; ADDITIONAL SECTION:
ns.ourfirst.org. 86400 IN A 192.168.122.27
Received 71 bytes from 192.168.122.92#53 in 0 ms
I can find the AUTHORITY SECTION: support.ourfirst.org 86400 IN NS
ns.ourfirst.org
But, if I directory use -t ns type to query the NS record, then It will
fail.
[root at tester1 named]# host -t ns support.ourfirst.org 192.168.122.92
Using domain server:
Name: 192.168.122.92
Address: 192.168.122.92#53
Aliases:
support.ourfirst.org has no NS record
Anyone can give me some advice?
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20130813/48bccf71/attachment.html>
More information about the bind-users
mailing list