```
server-name smartdns
prefetch-domain yes
serve-expired yes
cache-size 4096000
dnsmasq-lease-file /tmp/dhcp.leases
rr-ttl-min 60
rr-ttl-max 86400
log-size 64K
log-num 1
log-level error
log-file /var/log/smartdns.log
audit-size 64K
audit-num 1
cache-persist yes
cache-file /etc/smartdns/smartdns.cache
proxy-server socks5://127.0.0.1:1070 -name default-proxy
mdns-lookup yes
resolv-file /tmp/resolv.conf.d/resolv.conf.auto
bind [::]:6053@br-lan
bind [::]:6053@lo
bind-tcp [::]:6053@br-lan
bind-tcp [::]:6053@lo
bind [::]:6553@br-lan -group passwall_proxy -force-aaaa-soa
bind [::]:6553@lo -group passwall_proxy -force-aaaa-soa
bind-tcp [::]:6553@br-lan -group passwall_proxy -force-aaaa-soa
bind-tcp [::]:6553@lo -group passwall_proxy -force-aaaa-soa
server 218.2.2.2
server 218.4.4.4
server-https
https://dns.alidns.com/dns-query server-tls
dns.alidns.com server-https https://doh.pub/dns-query
server-tls dot.pub
server 223.5.5.5
server 119.29.29.29
server 8.8.8.8 -group passwall_proxy -exclude-default-group -proxy default-proxy -check-edns
server-https
https://dns.google/dns-query -group passwall_proxy -exclude-default-group -proxy default-proxy
server-tls
dns.google -group passwall_proxy -exclude-default-group -proxy default-proxy
server 1.1.1.1 -group passwall_proxy -exclude-default-group -proxy default-proxy -check-edns
server-tls
cloudflare-dns.com -group passwall_proxy -exclude-default-group -proxy default-proxy
server-https
https://1dot1dot1dot1.cloudflare-dns.com/ -group passwall_proxy -exclude-default-group -proxy default-proxy
domain-set -name domain-block-list -file /etc/smartdns/domain-block.list
domain-rules /domain-set:domain-block-list/ -address #
conf-file /etc/smartdns/address.conf
conf-file /etc/smartdns/blacklist-ip.conf
conf-file /etc/smartdns/custom.conf
```
可以参考我的配置
proxy-server socks5://127.0.0.1:1070 -name default-proxy 这部分是设置了本地的 PassWall 端口