mirror of
https://gitee.com/callmer/pve_toss_notes.git
synced 2026-08-31 14:02:53 +08:00
修复 tee 命令兼容性问题,并优化 Dnsmasq 配置
This commit is contained in:
@@ -3,9 +3,6 @@
|
||||
|
||||
# Main Config
|
||||
|
||||
conf-dir=/etc/dnsmasq.d/,*.conf
|
||||
conf-file=/etc/dnsmasq.conf
|
||||
|
||||
log-facility=/var/log/dnsmasq.log
|
||||
log-async=20
|
||||
|
||||
@@ -14,31 +11,31 @@ max-cache-ttl=7200
|
||||
fast-dns-retry=1800
|
||||
|
||||
interface=eth0
|
||||
rebind-domain-ok=/fox.internal/
|
||||
|
||||
bind-dynamic
|
||||
bogus-priv
|
||||
domain-needed
|
||||
no-hosts
|
||||
no-negcache
|
||||
no-ident
|
||||
no-resolv
|
||||
no-round-robin
|
||||
rebind-localhost-ok
|
||||
stop-dns-rebind
|
||||
rebind-domain-ok=/fox.internal/
|
||||
|
||||
# DNS Filter
|
||||
|
||||
server=/alt/
|
||||
server=/bind/
|
||||
server=/example/
|
||||
server=/home.arpa/
|
||||
server=/internal/
|
||||
server=/invalid/
|
||||
server=/lan/
|
||||
server=/local/
|
||||
server=/localhost/
|
||||
server=/onion/
|
||||
server=/test/
|
||||
local=/alt/
|
||||
local=/bind/
|
||||
local=/example/
|
||||
local=/home.arpa/
|
||||
local=/internal/
|
||||
local=/invalid/
|
||||
local=/lan/
|
||||
local=/local/
|
||||
local=/localhost/
|
||||
local=/onion/
|
||||
local=/test/
|
||||
|
||||
# DNS Server
|
||||
|
||||
|
||||
@@ -3,9 +3,6 @@
|
||||
|
||||
# Main Config
|
||||
|
||||
conf-dir=/etc/dnsmasq.d/,*.conf
|
||||
conf-file=/etc/dnsmasq.conf
|
||||
|
||||
log-facility=/var/log/dnsmasq.log
|
||||
log-async=20
|
||||
|
||||
@@ -14,31 +11,31 @@ max-cache-ttl=7200
|
||||
fast-dns-retry=1800
|
||||
|
||||
interface=eth0,tailscale0
|
||||
rebind-domain-ok=/fox.internal/
|
||||
|
||||
bind-dynamic
|
||||
bogus-priv
|
||||
domain-needed
|
||||
no-hosts
|
||||
no-negcache
|
||||
no-ident
|
||||
no-resolv
|
||||
no-round-robin
|
||||
rebind-localhost-ok
|
||||
stop-dns-rebind
|
||||
rebind-domain-ok=/fox.internal/
|
||||
|
||||
# DNS Filter
|
||||
|
||||
server=/alt/
|
||||
server=/bind/
|
||||
server=/example/
|
||||
server=/home.arpa/
|
||||
server=/internal/
|
||||
server=/invalid/
|
||||
server=/lan/
|
||||
server=/local/
|
||||
server=/localhost/
|
||||
server=/onion/
|
||||
server=/test/
|
||||
local=/alt/
|
||||
local=/bind/
|
||||
local=/example/
|
||||
local=/home.arpa/
|
||||
local=/internal/
|
||||
local=/invalid/
|
||||
local=/lan/
|
||||
local=/local/
|
||||
local=/localhost/
|
||||
local=/onion/
|
||||
local=/test/
|
||||
|
||||
# DNS Server
|
||||
|
||||
|
||||
Reference in New Issue
Block a user