diff --git a/base.yml b/base.yml index 65ef787..10f4115 100644 --- a/base.yml +++ b/base.yml @@ -146,7 +146,7 @@ services: dnscrypt-proxy: container_name: mistborn_production_dnscrypt_proxy - image: djaydev/dnscrypt-proxy + image: cyber5k/dnscrypt-proxy:latest environment: - DNSCRYPT_LISTEN_PORT=5054 # resolvers: https://download.dnscrypt.info/dnscrypt-resolvers/v2/public-resolvers.md diff --git a/scripts/install.sh b/scripts/install.sh index 9685623..400711e 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -193,6 +193,9 @@ sudo systemctl disable systemd-resolved 2>/dev/null || true sudo systemctl stop dnsmasq 2>/dev/null || true sudo systemctl disable dnsmasq 2>/dev/null || true +# hostname in /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 echo "address=/.mistborn/$IPV4_PUBLIC" | sudo tee ../mistborn_volumes/base/pihole/etc-dnsmasqd/02-lan.conf