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
# 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}"