mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-22 23:08:07 +00:00
Add special "except-interface" line in case of listening on all interfaces
This commit is contained in:
parent
0be1717ff4
commit
7ba47f504c
@ -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 New Issue
Block a user