Skip to content
Snippets Groups Projects
Commit 14ec4530 authored by Bob Mottram's avatar Bob Mottram
Browse files

dnsmasq better handling of local domains

parent d63b6062
No related branches found
No related tags found
No related merge requests found
......@@ -134,10 +134,12 @@ function pihole_update {
{ echo 'domain-needed';
echo 'bogus-priv';
echo 'no-resolv';
echo 'local=/local/';
echo 'domain=local';
echo "server=${PIHOLE_DNS1}";
echo "server=${PIHOLE_DNS2}";
echo "interface=${PIHOLE_IFACE}";
echo 'listen-address=127.0.0.1'; } > /etc/dnsmasq.conf
echo 'listen-address=0.0.0.0'; } > /etc/dnsmasq.conf
pihole_update_manpages
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment