Browse Source

localise-queries

merge-requests/11/head
Steven Foerster 6 years ago
parent
commit
0f3631e36e
  1. 1
      scripts/conf/02-lan.conf
  2. 3
      scripts/install.sh

1
scripts/conf/02-lan.conf

@ -0,0 +1 @@
localise-queries

3
scripts/install.sh

@ -197,7 +197,8 @@ sudo systemctl disable dnsmasq 2>/dev/null || true
sudo grep -qF "$(hostname)" /etc/hosts && echo "$(hostname) already in /etc/hosts" || echo "127.0.1.1 $(hostname) $(hostname)" | sudo tee -a /etc/hosts sudo grep -qF "$(hostname)" /etc/hosts && echo "$(hostname) already in /etc/hosts" || echo "127.0.1.1 $(hostname) $(hostname)" | sudo tee -a /etc/hosts
# resolve all *.mistborn domains # resolve all *.mistborn domains
echo "address=/.mistborn/$IPV4_PUBLIC" | sudo tee ../mistborn_volumes/base/pihole/etc-dnsmasqd/02-lan.conf sudo cp ./scripts/conf/02-lan.conf ../mistborn_volumes/base/pihole/etc-dnsmasqd/
echo "address=/.mistborn/$IPV4_PUBLIC" | sudo tee -a ../mistborn_volumes/base/pihole/etc-dnsmasqd/02-lan.conf
# ResolvConf (OpenResolv installed with Wireguard) # ResolvConf (OpenResolv installed with Wireguard)
sudo sed -i "s/#name_servers.*/name_servers=$IPV4_PUBLIC/" /etc/resolvconf.conf sudo sed -i "s/#name_servers.*/name_servers=$IPV4_PUBLIC/" /etc/resolvconf.conf

Loading…
Cancel
Save