Skip to content

Conversation

@bashioo
Copy link

@bashioo bashioo commented Jun 29, 2018

Added:
response-policy,
listen-on,
query-source,
allow-query,
server-addresses.

Changed:
default_zones_include can accept arrays now

response-policy {
<%- @response_policy['zones'].each do |rpz_zone_name,rpz_zone| -%>
zone <%= "\"#{rpz_zone_name}\"" -%>
<%- if @rpz_zone -%>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I realise this PR is very old now but I found it useful and have just patched it into my workplace fork. For what it's worth, there's a bug on this line, @rpz_zone should be rpz_zone. As the code stands now, none of the per-zone overrides are rendered into the view config since the conditional always fails as the instance variable does not exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants