Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

测速模式下网站访问失败 #1811

Open
Ryu-Z opened this issue Aug 30, 2024 · 2 comments
Open

测速模式下网站访问失败 #1811

Ryu-Z opened this issue Aug 30, 2024 · 2 comments

Comments

@Ryu-Z
Copy link

Ryu-Z commented Aug 30, 2024

我的配置文件

bind [::]:53
server 223.6.6.6 -group bootstrap
server 223.5.5.5 -group bootstrap
server 180.76.76.76
server 101.226.4.6
server 218.30.118.6
server 119.29.29.29
server 114.114.114.114
server 8.8.8.8
server-tls 1.1.1.1
server 10.110.0.53 -group demo1 -exclude-default-group
nameserver /demo1.com/demo1
server 10.120.0.53 -group demo2 -exclude-default-group
nameserver /demo2.com/demo2
server 10.130.0.54 -group demo3 -exclude-default-group
nameserver /demo3.com/demo3 -exclude-default-group
domain-rules /www.demo.com/ -nameserver bootstrap
conf-file /etc/smartdns/anti-ad-smartdns.conf
conf-file /etc/smartdns/smart-dns.conf
conf-file /etc/smartdns/lite_smartdns.conf
cache-size 32768
cache-persist yes
cache-file /tmp/smartdns.cache
force-qtype-SOA 65
log-level info
prefetch-domain yes
# 测速模式
speed-check-mode ping,tcp:80,tcp:443

加上最后的测速模式之后
终端 nslookup www.baidu.com 能返回ip, 且是单个ip

# nslookup www.baidu.com
Server:		127.0.0.1
Address:	127.0.0.1#53

Non-authoritative answer:
Name:	www.a.shifen.com
Address: 220.181.38.149

但是浏览器访问域名的时候直接失败了
浏览器报错: DNS_PROBE_FINISHED_NXDOMAIN

@PikuZheng
Copy link
Contributor

你的终端有ipv6,但你配置的ipv6 dns有不同的想法

@Ryu-Z
Copy link
Author

Ryu-Z commented Aug 30, 2024

你的终端有ipv6,但你配置的ipv6 dns有不同的想法

force-AAAA-SOA yes 后面配置了这个

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants