Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need more code robustness in split-backend DNSSEC setups #15220

Open
2 tasks done
miodvallat opened this issue Feb 26, 2025 · 0 comments
Open
2 tasks done

Need more code robustness in split-backend DNSSEC setups #15220

miodvallat opened this issue Feb 26, 2025 · 0 comments
Milestone

Comments

@miodvallat
Copy link
Contributor

Short description

As reported on the pdns-users list, attempting to do DNSSEC in a split-backend configuration where the first backend lacks DNSSEC support (e.g. LDAP, GeoIP, TinyDNS) can end up triggering a defensive abort in the code in DNSBackend::getBeforeAndAfterNamesAbsolute().

This happens because various code paths in PacketHandler trust the backend obtained by getSOAUncached to be able to perform DNSSEC operations.

As a minimum, the use of DNSSEC methods should be protected by doesDNSSEC() calls to prevent hitting the abort().

@miodvallat miodvallat added this to the auth-5 milestone Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant