Update technitiumdns.sh

default Debian 12
This commit is contained in:
tteckster 2023-07-03 13:17:17 -04:00 committed by GitHub
parent 6acacbf8c8
commit 7a9f9c0c2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 5 deletions

View File

@ -23,7 +23,7 @@ var_disk="2"
var_cpu="1"
var_ram="512"
var_os="debian"
var_version="11"
var_version="12"
variables
color
catch_errors
@ -62,10 +62,7 @@ if ! dpkg -s aspnetcore-runtime-7.0 > /dev/null 2>&1; then
apt-get install -y aspnetcore-runtime-7.0
rm packages-microsoft-prod.deb
fi
wget -q https://download.technitium.com/dns/DnsServerPortable.tar.gz
tar -zxf DnsServerPortable.tar.gz -C /etc/dns/ &>/dev/null
rm -rf DnsServerPortable.tar.gz
systemctl restart dns.service
$STD bash <(curl -fsSL https://download.technitium.com/dns/install.sh)
msg_ok "Updated Successfully"
exit
}