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

BIND DNSSEC validation mode. Implements #10832 #919

Merged
merged 1 commit into from Aug 19, 2020

Conversation

vktg
Copy link
Contributor

@vktg vktg commented Aug 17, 2020

Bug: The DNSSEC Validation tick-box has no effect, as PFSEnse has root zone keys, so "auto" behaviour is used whether ticked or not.

Explanation: Referencing docs: https://downloads.isc.org/isc/bind9/9.14.12/doc/arm/Bv9ARM.ch04.html#dnssec_config

If DNSSEC-Validation tickbox is enabled, adds: "dnssec-validation yes;" (wrong as config is missing "trusted-keys" or "managed-keys" statement. )
If DNSSEC-Validation tickbox is disabled, removes "dnssec-validation" clause altogether. (result: uses trust anchor for the DNS root zone automatically. Same effect as "yes" without trusted-keys/managed-keys)

Fix:
Change forwarder DNSSEC Validation tickbox to a drop-down selection of [yes|auto|no].
Default is 'Auto' (as current unchecked behavior)

https://downloads.isc.org/isc/bind9/9.14.12/doc/arm/Bv9ARM.ch04.html#dnssec_config:

When dnssec-validation is set to auto, a trust anchor for the DNS root zone will automatically be used. This trust anchor is provided as part of BIND and is kept up to date using RFC 5011 key management.
When dnssec-validation is set to yes, DNSSEC validation will only occur if at least one trust anchor has been explicitly configured in named.conf using a trusted-keys or managed-keys statement.
When dnssec-validation is set to no, DNSSEC validation will not occur.

@netgate-git-updates netgate-git-updates merged commit c2d72fb into pfsense:devel Aug 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants