nsd: Don't listen to localhost interface

This commit is contained in:
Timo Makinen 2025-01-06 20:24:29 +00:00
parent 9d5d05e713
commit 29e747db42

View file

@ -7,10 +7,10 @@ server:
server-count: {{ ansible_processor_count }} server-count: {{ ansible_processor_count }}
verbosity: 2 verbosity: 2
interface: ::0@53 {% for ip in ansible_all_ipv4_addresses + ansible_all_ipv6_addresses %}
interface: 0.0.0.0@53 interface: {{ ip }}@53
interface: ::0@853 interface: {{ ip }}@853
interface: 0.0.0.0@853 {% endfor %}
tls-service-key: {{ tls_private }}/{{ nsd_server }}.key tls-service-key: {{ tls_private }}/{{ nsd_server }}.key
tls-service-pem: {{ tls_certs }}/{{ nsd_server }}.crt tls-service-pem: {{ tls_certs }}/{{ nsd_server }}.crt