Update technitiumdns-install.sh

Debian 12 compatible
This commit is contained in:
tteckster 2023-07-03 13:12:11 -04:00 committed by GitHub
parent aabaa091ad
commit 6acacbf8c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,9 +28,6 @@ $STD apt-get install -y aspnetcore-runtime-7.0
msg_ok "Installed ASP.NET Core Runtime" msg_ok "Installed ASP.NET Core Runtime"
msg_info "Installing Technitium DNS" msg_info "Installing Technitium DNS"
systemctl stop systemd-resolved
echo "DNSStubListener=no" >>/etc/systemd/resolved.conf
ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
$STD bash <(curl -fsSL https://download.technitium.com/dns/install.sh) $STD bash <(curl -fsSL https://download.technitium.com/dns/install.sh)
msg_ok "Installed Technitium DNS" msg_ok "Installed Technitium DNS"