allow remote control from localhost

This commit is contained in:
Tommaso Piccioli 2019-07-10 12:11:10 +02:00
parent d2ef14b541
commit 0ef75e20f1
2 changed files with 6 additions and 1 deletions

View File

@ -16,4 +16,5 @@ unbound_prefetch: 'yes'
unbound_verbosity: 1
unbound_threads: '{{ ansible_processor_count }}'
unbound_remote_control: 'no'
unbound_remote_control: 'yes'
unbound_remote_IP: '127.0.0.1'

View File

@ -1,2 +1,6 @@
remote-control:
control-enable: {{ unbound_remote_control }}
{% if unbount_remove_IP is defined %}
control-interface: '{{ unbount_remove_IP }}'
{% endif %}