mirror of
https://gitee.com/callmer/pve_toss_notes.git
synced 2026-08-31 05:52:52 +08:00
调整 Dnsmasq 配置
This commit is contained in:
+1
-4
@@ -439,10 +439,8 @@ conf-file=/etc/dnsmasq.conf
|
|||||||
log-facility=/var/log/dnsmasq.log
|
log-facility=/var/log/dnsmasq.log
|
||||||
log-async=20
|
log-async=20
|
||||||
|
|
||||||
cache-size=2048
|
cache-size=0
|
||||||
max-cache-ttl=10800
|
|
||||||
fast-dns-retry=1800
|
fast-dns-retry=1800
|
||||||
edns-packet-max=1232
|
|
||||||
rebind-domain-ok=/fox.home.arpa/
|
rebind-domain-ok=/fox.home.arpa/
|
||||||
|
|
||||||
bind-dynamic
|
bind-dynamic
|
||||||
@@ -450,7 +448,6 @@ bogus-priv
|
|||||||
domain-needed
|
domain-needed
|
||||||
local-service
|
local-service
|
||||||
no-hosts
|
no-hosts
|
||||||
no-negcache
|
|
||||||
no-resolv
|
no-resolv
|
||||||
no-round-robin
|
no-round-robin
|
||||||
rebind-localhost-ok
|
rebind-localhost-ok
|
||||||
|
|||||||
+1
-4
@@ -513,10 +513,8 @@ conf-file=/etc/dnsmasq.conf
|
|||||||
log-facility=/var/log/dnsmasq.log
|
log-facility=/var/log/dnsmasq.log
|
||||||
log-async=20
|
log-async=20
|
||||||
|
|
||||||
cache-size=2048
|
cache-size=0
|
||||||
max-cache-ttl=10800
|
|
||||||
fast-dns-retry=1800
|
fast-dns-retry=1800
|
||||||
edns-packet-max=1232
|
|
||||||
rebind-domain-ok=/fox.home.arpa/
|
rebind-domain-ok=/fox.home.arpa/
|
||||||
|
|
||||||
bind-dynamic
|
bind-dynamic
|
||||||
@@ -524,7 +522,6 @@ bogus-priv
|
|||||||
domain-needed
|
domain-needed
|
||||||
local-service
|
local-service
|
||||||
no-hosts
|
no-hosts
|
||||||
no-negcache
|
|
||||||
no-round-robin
|
no-round-robin
|
||||||
rebind-localhost-ok
|
rebind-localhost-ok
|
||||||
stop-dns-rebind
|
stop-dns-rebind
|
||||||
|
|||||||
@@ -9,10 +9,8 @@ conf-file=/etc/dnsmasq.conf
|
|||||||
log-facility=/var/log/dnsmasq.log
|
log-facility=/var/log/dnsmasq.log
|
||||||
log-async=20
|
log-async=20
|
||||||
|
|
||||||
cache-size=2048
|
cache-size=0
|
||||||
max-cache-ttl=10800
|
|
||||||
fast-dns-retry=1800
|
fast-dns-retry=1800
|
||||||
edns-packet-max=1232
|
|
||||||
rebind-domain-ok=/fox.home.arpa/
|
rebind-domain-ok=/fox.home.arpa/
|
||||||
|
|
||||||
bind-dynamic
|
bind-dynamic
|
||||||
@@ -20,7 +18,6 @@ bogus-priv
|
|||||||
domain-needed
|
domain-needed
|
||||||
local-service
|
local-service
|
||||||
no-hosts
|
no-hosts
|
||||||
no-negcache
|
|
||||||
no-resolv
|
no-resolv
|
||||||
no-round-robin
|
no-round-robin
|
||||||
rebind-localhost-ok
|
rebind-localhost-ok
|
||||||
|
|||||||
@@ -9,10 +9,8 @@ conf-file=/etc/dnsmasq.conf
|
|||||||
log-facility=/var/log/dnsmasq.log
|
log-facility=/var/log/dnsmasq.log
|
||||||
log-async=20
|
log-async=20
|
||||||
|
|
||||||
cache-size=2048
|
cache-size=0
|
||||||
max-cache-ttl=10800
|
|
||||||
fast-dns-retry=1800
|
fast-dns-retry=1800
|
||||||
edns-packet-max=1232
|
|
||||||
rebind-domain-ok=/fox.home.arpa/
|
rebind-domain-ok=/fox.home.arpa/
|
||||||
|
|
||||||
bind-dynamic
|
bind-dynamic
|
||||||
@@ -20,7 +18,6 @@ bogus-priv
|
|||||||
domain-needed
|
domain-needed
|
||||||
local-service
|
local-service
|
||||||
no-hosts
|
no-hosts
|
||||||
no-negcache
|
|
||||||
no-round-robin
|
no-round-robin
|
||||||
rebind-localhost-ok
|
rebind-localhost-ok
|
||||||
stop-dns-rebind
|
stop-dns-rebind
|
||||||
|
|||||||
Reference in New Issue
Block a user