mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-29 18:13:10 +01:00
Update technitiumdns.sh
default Debian 12
This commit is contained in:
parent
6acacbf8c8
commit
7a9f9c0c2e
@ -23,7 +23,7 @@ var_disk="2"
|
|||||||
var_cpu="1"
|
var_cpu="1"
|
||||||
var_ram="512"
|
var_ram="512"
|
||||||
var_os="debian"
|
var_os="debian"
|
||||||
var_version="11"
|
var_version="12"
|
||||||
variables
|
variables
|
||||||
color
|
color
|
||||||
catch_errors
|
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
|
apt-get install -y aspnetcore-runtime-7.0
|
||||||
rm packages-microsoft-prod.deb
|
rm packages-microsoft-prod.deb
|
||||||
fi
|
fi
|
||||||
wget -q https://download.technitium.com/dns/DnsServerPortable.tar.gz
|
$STD bash <(curl -fsSL https://download.technitium.com/dns/install.sh)
|
||||||
tar -zxf DnsServerPortable.tar.gz -C /etc/dns/ &>/dev/null
|
|
||||||
rm -rf DnsServerPortable.tar.gz
|
|
||||||
systemctl restart dns.service
|
|
||||||
msg_ok "Updated Successfully"
|
msg_ok "Updated Successfully"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user