diff --git a/install/adguard-v5-install.sh b/install/adguard-v5-install.sh index 562c14ab..583b6df8 100644 --- a/install/adguard-v5-install.sh +++ b/install/adguard-v5-install.sh @@ -89,6 +89,8 @@ $STD apt-get install -y mc msg_ok "Installed Dependencies" msg_info "Installing AdGuard Home" +echo "DNSStubListener=no" >>/etc/systemd/resolved.conf +ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf wget -qL https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh $STD bash install.sh rm install.sh