-
Notifications
You must be signed in to change notification settings - Fork 112
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
Cannot set empty forwarders for zone #204
Comments
I can think of three ways to fix this:
@solarkennedy @ajjahn any preferences? I sort of lean towards deprecating the current parameter and introducing a new parameter with the desired semantics. |
@jearls I agree on #3. |
ghost
mentioned this issue
Mar 6, 2017
prolixalias
pushed a commit
to autostructure/puppet-dns
that referenced
this issue
Oct 23, 2019
This change adds the `forwarders` parameter to `dns::zone`, deprecating `allow_forwarder` in favor of `forwarders`. `forwarders` extends `allow_forwarder` by allowing both an *empty* forwarders list as well as an *undefined* forwarders list (the former meaning that the zone does not forward, while the latter leaves the global forwarders option in place): > [*forwarders*] > An array of IP addresses and optional port numbers to which queries > for this zone will be forwarded (based on the *forward_policy* > setting). If the optional port number is included, it must be > separated from the IP address by the word `port` - for example, > `[ '192.168.100.102 port 1234' ]`. If passed an empty array or the > boolean value `false`, the zone will not forward. If passed `true` > or left undefined, the zone will use the global forwarders defined > in `dns::server::options`. > *Note* - this parameter deprecates and should be used in place of > the *allow_forwarder* parameter. If both parameters are passed in, > only *forwarders* will take effect. This addresses Issue ajjahn#204
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's not possible to override the forwarders for a zone to be empty. This means that authoritative zones will use the default forwarders from the options file even if this is not the desired behavior.
The text was updated successfully, but these errors were encountered: