Browse Source

Update technitiumdns-v5-install.sh

free port 53
tteckster 2 năm trước cách đây
mục cha
commit
32c38611ae
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      install/technitiumdns-v5-install.sh

+ 3 - 0
install/technitiumdns-v5-install.sh

@@ -90,6 +90,9 @@ $STD apt-get install -y mc
 msg_ok "Installed Dependencies"
 
 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)
 msg_ok "Installed Technitium DNS"