Archived
59 lines
1.2 KiB
Plaintext
59 lines
1.2 KiB
Plaintext
# This configuration file is customized by fox,
|
|
# Optimize SmartDNS parameters for local DNS server.
|
|
#
|
|
# For use common DNS server as upstream DNS server,
|
|
# please modify 'server' parameter according to
|
|
# your network environment.
|
|
#
|
|
# eg:
|
|
# server 223.5.5.5
|
|
# server 180.184.1.1
|
|
# server 119.29.29.29
|
|
# server 114.114.114.114
|
|
# server 2402:4e00::
|
|
# server 2400:3200::1
|
|
|
|
conf-file /etc/smartdns.d/*.conf
|
|
|
|
log-level notice
|
|
log-console yes
|
|
log-size 16M
|
|
log-num 8
|
|
|
|
audit-enable yes
|
|
audit-SOA yes
|
|
audit-size 16M
|
|
audit-num 8
|
|
|
|
plugin smartdns_ui.so
|
|
smartdns-ui.ip https://[::]:5380
|
|
smartdns-ui.token-expire 1800
|
|
smartdns-ui.max-query-log-age 604800
|
|
|
|
bind [::]:6053@lo
|
|
bind-tcp [::]:6053@lo
|
|
|
|
cache-size 32768
|
|
max-query-limit 1024
|
|
max-reply-ip-num 16
|
|
|
|
prefetch-domain yes
|
|
|
|
serve-expired yes
|
|
serve-expired-ttl 129600
|
|
serve-expired-reply-ttl 30
|
|
serve-expired-prefetch-time 28800
|
|
|
|
rr-ttl-min 60
|
|
rr-ttl-max 28800
|
|
rr-ttl-reply-max 14400
|
|
|
|
server-tls dot.pub -host-ip 120.53.53.53 -bootstrap-dns
|
|
server-tls dns.alidns.com -host-ip 223.5.5.5 -bootstrap-dns
|
|
|
|
server-quic dns.alidns.com
|
|
|
|
server-https https://doh.pub/dns-query
|
|
server-https https://dns.alidns.com/dns-query
|
|
|