]> granicus.if.org Git - pdns/commit
when (re)priming the root, we do so with auth=0. We'll only set auth=1 after we have...
authorbert hubert <bert.hubert@powerdns.com>
Fri, 12 May 2017 10:34:44 +0000 (12:34 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Sat, 13 May 2017 09:42:14 +0000 (11:42 +0200)
commit233e144b940be9559f88009157d47bd132b653d3
tree5586484703d8c818f0df4fcf6597dabb5e270c3e
parent95ae014a74198ece6de35cde94757d5abb1aa96a
when (re)priming the root, we do so with auth=0. We'll only set auth=1 after we have an answer from the roots. This however opens up a small race condition in which the root is expired (ttl=0), but still auth=1 in the cache. Our attempt to replace it with auth=0 dta fails at that point. This is probably due to some fencepost error somewhere. To not be subtle about this, explicitly nuke the root when we reprime.

(cherry picked from commit 0d032a66afe508cc86a25eef26fc9be0867a117e)
pdns/reczones.cc