]> git.ipfire.org Git - thirdparty/pdns.git/commit
Do not insert ENT when delegate above delegate
authorRuben d'Arco <cyclops@prof-x.net>
Thu, 9 May 2013 18:18:53 +0000 (20:18 +0200)
committermind04 <mind04@monshouwer.org>
Fri, 12 Jul 2013 15:26:19 +0000 (17:26 +0200)
commit7a0a9f8a221bc54589b64041217502a6fd4869b4
tree78bcab101e961e6eb6a6b012db0adc3d8b1d48aa
parenta6f8e9d9a0e46b8f77ce686d72419b71b3e0b5b0
Do not insert ENT when delegate above delegate

consider these records:
a.b.c.delegate.test.dyndns 600 NS ns1.test.dyndns
c.delegate.test.dyndns 600 NS ns1.test.dyndns

When deleting c.delegate.test.dynds we would search for records below
and find a.b.c.delegate.test.dyndns. This would cause a ENT to be inserted.

So, if we delete something at a high level, we make sure we ignore NS records that are below it when searching to see
if we need to insert ENT's.
pdns/rfc2136handler.cc