]> git.ipfire.org Git - thirdparty/pdns.git/commit
Remember parent NS set, to be able to fallback to it if needed
authorOtto <otto.moerbeek@open-xchange.com>
Tue, 19 Oct 2021 08:48:28 +0000 (10:48 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 21 Mar 2022 09:16:02 +0000 (10:16 +0100)
commit4e45e5bc3d88a1f65dafd8700ce67d5fa3f8b33d
tree0294dfa4d9d89addd1e6a46ce7e8de91e0b78f84
parentfd93b111a1ec5791b892adf573572b28f46b2f79
Remember parent NS set, to be able to fallback to it if needed

When a non-auth NS set is replaced by an auth one, remember the non-auth one if
it contains NS not in the auth set.

Use that NS set later as a fallback if resolving fails.

TODO: general validation of method, pruning the new table, tests, config switch?

Should fix #10594
pdns/rec_channel_rec.cc
pdns/rec_control.cc
pdns/recursordist/rec-main.cc
pdns/recursordist/test-syncres_cc.cc
pdns/syncres.cc
pdns/syncres.hh