次元笔记

SmartDNS快速配置文件

SmartDNS配置文件

使用方法,新建一个smartdns空文件,复制代码粘贴后保存,然后覆盖/etc/config/smartdns最后执行命令行/etc/init.d/smartdns restart重启smartdns就行了

config smartdns
    option port '6053'
    option tcp_server '1'
    option ipv6_server '0'
    option dualstack_ip_selection '0'
    option prefetch_domain '1'
    option serve_expired '1'
    option redirect 'none'
    option rr_ttl_min '300'
    option seconddns_enabled '1'
    option seconddns_port '5335'
    option seconddns_tcp_server '1'
    option seconddns_server_group 'us'
    option seconddns_no_speed_check '0'
    option seconddns_no_rule_addr '1'
    option seconddns_no_rule_nameserver '1'
    option seconddns_no_rule_ipset '1'
    option seconddns_no_rule_soa '0'
    option seconddns_no_dualstack_selection '1'
    option seconddns_no_cache '0'
    option force_aaaa_soa '1'
    option coredump '0'
    option enabled '1'
    option server_name 'cn'
    list old_redirect 'none'
    list old_port '6053'
    list old_enabled '1'

config server
    option type 'udp'
    option ip '114.114.114.114'
    option port '53'
    option name '114DNS'
    option blacklist_ip '0'
    option enabled '1'

config server
    option type 'udp'
    option ip '223.5.5.5'
    option port '53'
    option name 'AliDNS'
    option blacklist_ip '0'
    option enabled '1'

config server
    option type 'udp'
    option ip '119.29.29.29'
    option port '53'
    option name 'DNSPod'
    option blacklist_ip '0'
    option enabled '1'

config server
    option enabled '1'
    option type 'udp'
    option name 'BaiduDNS'
    option ip '180.76.76.76'
    option port '53'
    option blacklist_ip '0'

config server
    option enabled '1'
    option type 'udp'
    option name 'TelecomDNS'
    option ip '202.96.128.86'
    option port '53'
    option blacklist_ip '0'

config server
    option enabled '1'
    option name 'OpenDNS'
    option ip '208.67.222.222'
    option type 'tls'
    option no_check_certificate '0'
    option server_group 'us'
    option blacklist_ip '0'
    option port '853'
    option addition_arg '-exclude-default-group'

config server
    option enabled '1'
    option ip '8.8.4.4'
    option port '853'
    option type 'tls'
    option no_check_certificate '0'
    option server_group 'us'
    option blacklist_ip '0'
    option name 'GoogleDNS'
    option addition_arg '-exclude-default-group'

config server
    option enabled '1'
    option ip '8.8.8.8'
    option port '853'
    option type 'tls'
    option no_check_certificate '0'
    option server_group 'us'
    option blacklist_ip '0'
    option name 'GoogleDNS'
    option addition_arg '-exclude-default-group'

config server
    option enabled '1'
    option ip '1.1.1.1'
    option port '853'
    option type 'tls'
    option name 'CloudFlare'
    option no_check_certificate '0'
    option server_group 'us'
    option blacklist_ip '0'
    option addition_arg '-exclude-default-group'

config server
    option enabled '1'
    option port '853'
    option type 'tls'
    option name 'CloudFlare'
    option ip '1.1.1.2'
    option no_check_certificate '0'
    option server_group 'us'
    option blacklist_ip '0'
    option addition_arg '-exclude-default-group'

当前页面是本站的「Google AMP」版。查看和发表评论请点击:完整版 »