diff --git a/install.sh b/install.sh index 9e837cc..3e47cc1 100755 --- a/install.sh +++ b/install.sh @@ -104,7 +104,7 @@ systemctl restart stubby.service # download adware + malware hosts file, used by dnsmasq wget --output-document=/usr/local/etc/hosts https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts # remove ipv6 records -sed -i '/::/d' /usr/local/etc/hosts +# sed -i '/::/d' /usr/local/etc/hosts # dnsmasq will use adware + malware hosts file # and listen on wireguard server private lan IP @@ -130,7 +130,7 @@ echo "cache-size=0" >> /etc/dnsmasq.d/local.conf echo "no-negcache" >> /etc/dnsmasq.d/local.conf echo "listen-address=10.96.0.1" >> /etc/dnsmasq.d/local.conf echo "no-dhcp-interface=10.96.0.1" >> /etc/dnsmasq.d/local.conf -echo "bind-interfaces" >> /etc/dnsmasq.d/local.conf +echo "bind-dynamic" >> /etc/dnsmasq.d/local.conf # remove temporary policy-rc.d rm -f /usr/sbin/policy-rc.d sed -i 's|After=network.target|After=wg-quick@wg0.service|g' /lib/systemd/system/dnsmasq.service