]> git.ipfire.org Git - thirdparty/pdns.git/commit
rec: Skip NS for the exact zone in CNAME answers 7178/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 9 Nov 2018 16:52:56 +0000 (17:52 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 9 Nov 2018 16:52:56 +0000 (17:52 +0100)
commitd9c32b520b168f82e83a492cb8b6608c7feea97e
tree305904214689c8372a04a6572b5cf063dea11831
parent63df8c54ee5e74e9dbb5ae9368fba101b68c5c8d
rec: Skip NS for the exact zone in CNAME answers

These NS can't be authoritative since we have a CNAME answer for
which only the record describing that alias is necessarily
authoritative.
But if we allow the current auth, which might be serving the child
zone, to raise the TTL of non-authoritative NS in the cache, they
might be able to keep a "ghost" zone alive forever, even after the
delegation is gone from the parent.
So let's just do nothing with them, we can fetch them directly if
we need them.
pdns/recursordist/test-syncres_cc.cc
pdns/syncres.cc