Skip to content

Commit

Permalink
Merge pull request resmo#13 from brunoleon/add_listen_option
Browse files Browse the repository at this point in the history
add listen option defaulting to any
  • Loading branch information
resmo committed Sep 4, 2015
2 parents 511f9a7 + d109b26 commit 50c6a2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ bind_pkg_state: installed
bind_base_zones_path: '/var/lib/bind'
bind_masterzones_path: 'masters'
bind_slavezones_path: 'slaves'
bind_config_listen_on: any
3 changes: 2 additions & 1 deletion templates/named.conf.options.j2
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ options {
//dnssec-validation yes;

auth-nxdomain no; # conform to RFC1035


listen-on { {{ bind_config_listen_on }}; };
listen-on-v6 { any; };

allow-query { any; }; // This is the default
Expand Down

0 comments on commit 50c6a2a

Please sign in to comment.