Skip to content

Commit bf0a210

Browse files
authored
Configure FTL dns_listeningMode and dns_interface variables (#638)
1 parent c55ae49 commit bf0a210

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

templates/pi-hole-docker-compose.yml.j2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ services:
2929
TZ: '{{ pihole_timezone }}'
3030
FTLCONF_webserver_api_password: '{{ pihole_password }}'
3131
FTLCONF_dns_reply_host_IPv4: '{{ ansible_facts['default_ipv4']['address'] }}'
32+
FTLCONF_dns_listeningMode: 'SINGLE'
33+
FTLCONF_dns_interface: '{{ ansible_facts['default_ipv4']['interface'] }}'
3234
{% if domain_name_enable and domain_name and domain_pihole %}
3335
VIRTUAL_HOST: {{ domain_pihole }}.{{ domain_name }}
3436
VIRTUAL_PORT: 80

0 commit comments

Comments
 (0)