1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-23 15:28:07 +00:00

Add special "except-interface" line in case of listening on all interfaces

This commit is contained in:
DL6ER 2017-03-01 12:15:04 +01:00
parent 0be1717ff4
commit 7ba47f504c
No known key found for this signature in database
GPG Key ID: 00135ACBD90B28DD

View File

@ -146,6 +146,7 @@ trust-anchor=.,19036,8,2,49AAC11D7B6F6446702E54A1607371607A1A41855200FD2CE1CDDE3
# Listen on all interfaces, permit all origins # Listen on all interfaces, permit all origins
# Leave a comment in 01-pihole.conf # Leave a comment in 01-pihole.conf
add_dnsmasq_setting "# Listening on all interfaces" add_dnsmasq_setting "# Listening on all interfaces"
add_dnsmasq_setting "except-interface" "nonexisting"
elif [[ "${DNSMASQ_LISTENING}" == "single" ]]; then elif [[ "${DNSMASQ_LISTENING}" == "single" ]]; then
# Listen only on one interface # Listen only on one interface
add_dnsmasq_setting "interface" "${PIHOLE_INTERFACE}" add_dnsmasq_setting "interface" "${PIHOLE_INTERFACE}"