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