Maintained by: NLnet Labs

Does "stub-prime: yes" refresh NS list as zone apex changes?

Viktor Dukhovni
Thu Sep 29 09:14:40 CEST 2016

I read that "stub-prime: yes" obtains the initial "NS" list from
the zone's parent as usual, but what happens after that?  Is that
"NS" list effectively "frozen" for the life-time of the unbound(8)
server process, or does it get updated as the NS records change at
the zone apex?

The reason I ask is that when forwarding most queries to an
upstream cache:
		name: "."
		forward-first: yes

it is tempting to handle exceptions via:
		name: ""
		stub-prime: yes

where queries for "" are not forwarded upstream, but
instead go direct to the authority servers.  However, what is not
clear from the documentation, is whether the NS RRset obtained via
"stub-prime: yes" is ever updated.  The idea here is not to go to
some other set of servers that manually configured, but rather to
avoid indirect forwarding, so updates would in fact be wanted for
this to work.