Archived
49 lines
720 B
Plaintext
49 lines
720 B
Plaintext
# This configuration file is customized by fox,
|
|
# Optimize dnsmasq parameters for local DNS server.
|
|
|
|
# Main Config
|
|
|
|
conf-dir=/etc/dnsmasq.d/,*.conf
|
|
conf-file=/etc/dnsmasq.conf
|
|
|
|
log-facility=/var/log/dnsmasq.log
|
|
log-async=20
|
|
|
|
cache-size=2048
|
|
max-cache-ttl=7200
|
|
fast-dns-retry=1800
|
|
rebind-domain-ok=/fox.home.arpa/
|
|
|
|
bind-dynamic
|
|
bogus-priv
|
|
domain-needed
|
|
local-service
|
|
no-hosts
|
|
no-negcache
|
|
no-resolv
|
|
no-round-robin
|
|
rebind-localhost-ok
|
|
stop-dns-rebind
|
|
strip-subnet
|
|
|
|
# DNS Filter
|
|
|
|
server=/alt/
|
|
server=/home.arpa/
|
|
server=/example/
|
|
server=/bind/
|
|
server=/invalid/
|
|
server=/lan/
|
|
server=/local/
|
|
server=/localhost/
|
|
server=/onion/
|
|
server=/test/
|
|
|
|
# DNS Server
|
|
|
|
server=/fox.home.arpa/172.16.1.1
|
|
|
|
server=127.0.0.1#6053
|
|
server=::1#6053
|
|
|