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

Support for Views #156

Closed
Cicco0 opened this issue Mar 9, 2016 · 1 comment
Closed

Support for Views #156

Cicco0 opened this issue Mar 9, 2016 · 1 comment

Comments

@Cicco0
Copy link
Contributor

Cicco0 commented Mar 9, 2016

I want to integrate the possibility of views in this module. However, it seems to be a bit difficult after several attempts, since the configuration has to be adapted in several places.

I'm able to create a view with the following code:
Pastebin

but I get, of course, an error message:

/etc/named.rfc1912.zones:13: when using 'view' statements, all zones must be in views

The cause of the error is in the "named.conf.erb" file that makes an include:

include "/etc/named.rfc1912.zones";

When a view is used in this module, this include should be included by an view, like as follow:

view "global" { match-clients { any; } include "/etc/named.rfc1912.zones"; };

Is there another way or what solution would you propose?

Andy

@solarkennedy
Copy link
Collaborator

Closing as dupe of #35

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

No branches or pull requests

2 participants