9.3.2 behavior - explain please
Kevin Darcy
kcd at daimlerchrysler.com
Wed Aug 1 00:43:25 UTC 2007
Pavel,
I have no ready explanation for this. If a nameserver can
successfully give a zone transfer for a zone, and the zone status
doesn't change at all, it *should* give an authoritative response to a
"-t any" query for the zone name as well. These 2 digs were run on the
same machine right? And nothing was done between them (e.g. an rndc
reload or rndc config)? The zone didn't happen to expire in that
less-than-2-minute interval between queries, did it (since you have a
1000-hour expiration interval that seems rather unlikely)? Very strange.
Is this behavior repeatable?
As Chris pointed out, rndc dumpdb only dumps the cache by default, you
need additional arguments if you want it to dump authoritative zone data.
- Kevin
Pavel Urban wrote:
> Hello,
>
> I have an authoritative server for 'printmediaacademy.cz'. This domain
> is not delegated to it yet, but as far as I know, the server should
> already know it.
>
> [root at dns named]# dig @localhost printmediaacademy.cz -t any +norecurse
>
> ; <<>> DiG 9.3.2 <<>> @localhost printmediaacademy.cz -t any +norecurse
> ; (1 server found)
> ;; global options: printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 43255
> ;; flags: qr ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
>
> ;; QUESTION SECTION:
> ;printmediaacademy.cz. IN ANY
>
> ;; AUTHORITY SECTION:
> cz. 8040 IN SOA a.ns.nic.cz.
> hostmaster.tld.cz. 2007073103 10800 3600 864000 28800
>
> ;; Query time: 0 msec
> ;; SERVER: 127.0.0.1#53(127.0.0.1)
> ;; WHEN: Tue Jul 31 16:24:16 2007
> ;; MSG SIZE rcvd: 98
>
>
> [root at dns named]# dig @localhost printmediaacademy.cz -t axfr
>
> ; <<>> DiG 9.3.2 <<>> @localhost printmediaacademy.cz -t axfr
> ; (1 server found)
> ;; global options: printcmd
> printmediaacademy.cz. 86400 IN SOA dns.iol.cz.
> hostmaster.iol.cz. 2007073100 10800 3600 3600000 86400
> printmediaacademy.cz. 86400 IN MX 10 smtp-in.iol.cz.
> printmediaacademy.cz. 86400 IN MX 20 relay.iol.cz.
> printmediaacademy.cz. 86400 IN NS dns.iol.cz.
> printmediaacademy.cz. 86400 IN NS ns2.tel.cz.
> www.printmediaacademy.cz. 86400 IN CNAME web.iol.cz.
> printmediaacademy.cz. 86400 IN SOA dns.iol.cz.
> hostmaster.iol.cz. 2007073100 10800 3600 3600000 86400
> ;; Query time: 0 msec
> ;; SERVER: 127.0.0.1#53(127.0.0.1)
> ;; WHEN: Tue Jul 31 16:22:41 2007
> ;; XFR size: 7 records (messages 7)
>
> I cannot find a reference to this zone in cache dump as well. How's that?
>
> Thank you!
>
>
More information about the bind-users
mailing list