ben thielsen via bind-users <bind-users@lists.isc.org> wrote:
>
> zone "example.com" {
>       type stub;
>       masters {
>               "example.com" ;
>       };
> };
>
> masters "example.com" {
>       192.168.81.50 ;
> };

If you want a fixed set of master servers for a zone, use static-stub.

A stub zone works a bit like the root hints: it will update its idea of
where the authoritative servers are based on responses from the network.

> is my perception accurate?  is bind caching the data it got back in the
> additional section, for a name outside of the queried zone?  if so, why?

See RFC 2181 section 5.4.1 on trustworthiness ranking of DNS data.

BIND needs to cache referrals in order to be able to find the servers for
follow-up queries (including when it is completing the current query!).
It doesn't pro-actively check the authoritative servers to get more
trustworthy versions of the referral records.

Tony.
-- 
f.anthony.n.finch  <d...@dotat.at>  http://dotat.at/  -  I xn--zr8h punycode
Biscay: East backing north 3 or 4. Moderate. Fair. Good.
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to