From 126635206afc4860dc65327f162de581d5a96e0a Mon Sep 17 00:00:00 2001 From: CallMeR <9463297+callmer@user.noreply.gitee.com> Date: Wed, 26 Aug 2026 00:00:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20DNS=20=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 06.PVE制作DNS服务器.md | 3 ++- 07.PVE制作TS服务器.md | 7 ++++--- src/debian/debian_dns_dnsmasq.conf | 1 - src/debian/debian_ts_dnsmasq.conf | 5 ++--- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/06.PVE制作DNS服务器.md b/06.PVE制作DNS服务器.md index da4be79..944472f 100644 --- a/06.PVE制作DNS服务器.md +++ b/06.PVE制作DNS服务器.md @@ -102,6 +102,8 @@ $ sudo tee /etc/systemd/resolved.conf.d/10-server-dns.conf >/dev/null <<'EOF' DNS=127.0.0.1 DNS=::1 DNSStubListener=no +LLMNR=no +MulticastDNS=no EOF ``` @@ -436,7 +438,6 @@ no-hosts no-ident no-resolv no-round-robin -rebind-localhost-ok stop-dns-rebind rebind-domain-ok=/fox.internal/ diff --git a/07.PVE制作TS服务器.md b/07.PVE制作TS服务器.md index ebdeadf..554e6a0 100644 --- a/07.PVE制作TS服务器.md +++ b/07.PVE制作TS服务器.md @@ -443,6 +443,8 @@ $ sudo tee /etc/systemd/resolved.conf.d/10-server-dns.conf >/dev/null <<'EOF' DNS=127.0.0.1 DNS=::1 DNSStubListener=no +LLMNR=no +MulticastDNS=no EOF ``` @@ -519,9 +521,8 @@ no-hosts no-ident no-resolv no-round-robin -rebind-localhost-ok stop-dns-rebind -rebind-domain-ok=/fox.internal/ +rebind-domain-ok=/fox.internal/ts.net/ # DNS Filter @@ -539,8 +540,8 @@ local=/test/ # DNS Server -server=/ts.net/100.100.100.100 server=/fox.internal/172.16.1.1 +server=/ts.net/100.100.100.100 server=172.16.1.1 ``` diff --git a/src/debian/debian_dns_dnsmasq.conf b/src/debian/debian_dns_dnsmasq.conf index d5dc6f6..e295d79 100644 --- a/src/debian/debian_dns_dnsmasq.conf +++ b/src/debian/debian_dns_dnsmasq.conf @@ -19,7 +19,6 @@ no-hosts no-ident no-resolv no-round-robin -rebind-localhost-ok stop-dns-rebind rebind-domain-ok=/fox.internal/ diff --git a/src/debian/debian_ts_dnsmasq.conf b/src/debian/debian_ts_dnsmasq.conf index 9fa1bee..e391fe1 100644 --- a/src/debian/debian_ts_dnsmasq.conf +++ b/src/debian/debian_ts_dnsmasq.conf @@ -19,9 +19,8 @@ no-hosts no-ident no-resolv no-round-robin -rebind-localhost-ok stop-dns-rebind -rebind-domain-ok=/fox.internal/ +rebind-domain-ok=/fox.internal/ts.net/ # DNS Filter @@ -39,7 +38,7 @@ local=/test/ # DNS Server -server=/ts.net/100.100.100.100 server=/fox.internal/172.16.1.1 +server=/ts.net/100.100.100.100 server=172.16.1.1