mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 10:43:55 +00:00
Add special "except-interface" line in case of listening on all interfaces
This commit is contained in:
parent
0be1717ff4
commit
7ba47f504c
1 changed files with 1 additions and 0 deletions
|
@ -146,6 +146,7 @@ trust-anchor=.,19036,8,2,49AAC11D7B6F6446702E54A1607371607A1A41855200FD2CE1CDDE3
|
|||
# Listen on all interfaces, permit all origins
|
||||
# Leave a comment in 01-pihole.conf
|
||||
add_dnsmasq_setting "# Listening on all interfaces"
|
||||
add_dnsmasq_setting "except-interface" "nonexisting"
|
||||
elif [[ "${DNSMASQ_LISTENING}" == "single" ]]; then
|
||||
# Listen only on one interface
|
||||
add_dnsmasq_setting "interface" "${PIHOLE_INTERFACE}"
|
||||
|
|
Loading…
Reference in a new issue