]> git.ipfire.org Git - thirdparty/bind9.git/commit
Check that the forward declaration is unchanged and not overridden
authorMark Andrews <marka@isc.org>
Thu, 20 Jan 2022 23:52:02 +0000 (10:52 +1100)
committerMichał Kępień <michal@isc.org>
Thu, 3 Mar 2022 12:33:00 +0000 (13:33 +0100)
commit52d918c315e55475df1c080be9d4d7cfd395f835
tree14b7bb393a9070e26f3b0c41fb6fb9a865cce79c
parent853c6c284ac5ecaffd2c6ae4da8766c76d1cce72
Check that the forward declaration is unchanged and not overridden

If we are using a fowarder, in addition to checking that names to
be cached are subdomains of the forwarded namespace, we must also
check that there are no subsidiary forwarded namespaces which would
take precedence. To be safe, we don't cache any responses if the
forwarding configuration has changed since the query was sent.
lib/dns/resolver.c