]> git.ipfire.org Git - thirdparty/pdns.git/commit
when (re)priming the root, we do so with auth=0. We'll only set auth=1 after we have... 5318/head
authorbert hubert <bert.hubert@powerdns.com>
Fri, 12 May 2017 10:34:44 +0000 (12:34 +0200)
committerbert hubert <bert.hubert@powerdns.com>
Fri, 12 May 2017 10:34:44 +0000 (12:34 +0200)
commit0d032a66afe508cc86a25eef26fc9be0867a117e
tree70cef0124bab171bcbad6d031ba94e88b74bda86
parentd72fcb8ce1ef3ddf0a57153c54d94f729342adc2
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.
pdns/reczones.cc