20 lines
437 B
YAML
20 lines
437 B
YAML
|
---
|
||
|
|
||
|
|
||
|
- name: Set bind configuration for recursive server
|
||
|
template:
|
||
|
src: named.conf.options_recursive.j2
|
||
|
dest: /etc/bind/named.conf.options
|
||
|
owner: bind
|
||
|
group: bind
|
||
|
mode: "0644"
|
||
|
force: yes
|
||
|
notify: restart bind
|
||
|
|
||
|
- name: enable zones.rfc1918 for recursive server
|
||
|
lineinfile:
|
||
|
dest: /etc/bind/named.conf.local
|
||
|
line: 'include "/etc/bind/zones.rfc1918";'
|
||
|
regexp: "zones.rfc1918"
|
||
|
notify: restart bind
|