-
Notifications
You must be signed in to change notification settings - Fork 13
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
Updated esdc-dns appliance and first compute node installer to configure recursion forwarders #60
Conversation
…ure recursion forwarders The recursion forwarders will be configured according to DNS resolvers, which were set during installation. Added new esdc-mon mdata: `org.erigones:recursor_forwarders`.
@@ -88,6 +88,7 @@ config-dir={{ recursor_config_dir }} | |||
# forward-zones Zones for which we forward queries, comma separated domain=ip pairs | |||
# | |||
# forward-zones= | |||
{% if recursor_forward_zones %}forward-zones={{ recursor_forward_zones | join(',') }}{% endif %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this line is not needed.
https://doc.powerdns.com/md/recursor/settings/#forward-zones
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep. Not needed, but does not hurt - just a feature for the pdns ansible role.
@@ -191,6 +191,7 @@ function _build_vmmanifest() { | |||
-e "s|@MON_IP@|${MON_IP}|" \ | |||
-e "s|@ROOT_AUTHORIZED_KEYS@|${ROOT_AUTHORIZED_KEYS}|" \ | |||
-e "s|@PGSQL_PDNS_PASSWORD@|${PGSQL_PDNS_PASSWORD}|" \ | |||
-e "s|@PDNS_RECURSOR_FORWARDERS@|.=${DNS_RESOLVERS/,/;}|" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We really should set this mdata conditionally. We don't want to flood (default) Google DNS servers by every recursive query in the cloud. By default, our pdns server should take care of all recursive queries by itself (opposite to asking a "smarthost").
Please add (in pseudo code):
if recursors != 8.8.[48].[48]; then set metadata...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
…S servers are used
The recursion forwarders will be configured according to DNS resolvers, which were set during installation.
Added new esdc-mon mdata:
org.erigones:recursor_forwarders
.