关于 adguardhome 的一点疑问

13次阅读

共计 494 个字符,预计需要花费 2 分钟才能阅读完成。

我路由器刷了 openwrt,开了 openclash 和 adguardhome,openclash redir-host 模式,劫持本地 dns,使用 dnsmap 转发,自定义上游 dns 服务用的 adguardhome,目前出现一个问题,就是无法访问 https://test.ustc.edu.cn(中国科学技术大学测试网站),但是 https://test6.ustc.edu.cn(纯 ipv6)就可以。在 adguardhome 上看查询日志,发现用 手机 访问 https://test.ustc.edu.cn 时会返回 ipv6 的 dns 结果,且没有返回具体 ip,如下图:
关于 adguardhome 的一点疑问

但是这个网站应该是只有 ipv4 的,不知道为何返回 AAAA 记录。但是当我用 Mac 访问时,返回的是正确的 ipv4 地址:
关于 adguardhome 的一点疑问
但是还是无法访问网站

我用 nslookup 和 traceroute 都是正常的,但是 ping timeout,openclash 里面也没有看到相关的访问日志

❯ dig test.ustc.edu.cn

; <<>> DiG 9.10.6 <<>> test.ustc.edu.cn
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 41181
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;test.ustc.edu.cn.		IN	A

;; ANSWER SECTION:
test.ustc.edu.cn.	1466	IN	A	202.38.64.43

;; Query time: 7 msec
;; SERVER: 100.100.100.100#53(100.100.100.100)
;; WHEN: Sun Jun 23 13:00:41 CST 2024
;; MSG SIZE  rcvd: 50

❯ nslookup test.ustc.edu.cn
Server:		100.100.100.100
Address:	100.100.100.100#53

Name:	test.ustc.edu.cn
Address: 202.38.64.43

❯ traceroute test.ustc.edu.cn
traceroute to test.ustc.edu.cn (202.38.64.43), 64 hops max, 52 byte packets
 1  openwrt (192.168.50.1)  2.124 ms  2.003 ms  1.261 ms
 2  123.113.24.1 (123.113.24.1)  3.135 ms  3.510 ms  3.338 ms
 3  61.48.26.201 (61.48.26.201)  5.690 ms  6.266 ms  8.491 ms
 4  * 124.65.194.77 (124.65.194.77)  7.781 ms
    125.33.186.77 (125.33.186.77)  6.131 ms
 5  219.158.109.186 (219.158.109.186)  7.967 ms
    219.158.21.174 (219.158.21.174)  10.485 ms
    219.158.103.70 (219.158.103.70)  6.041 ms
 6  219.158.39.54 (219.158.39.54)  9.474 ms^C
 
 ❯ ping test.ustc.edu.cn

PING test.ustc.edu.cn (202.38.64.43): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
Request timeout for icmp_seq 3
Request timeout for icmp_seq 4

有没有大佬能解答一下咋回事呢。。如果只是这个网站无法访问还行,但是就怕还有其他正常网站不行,所以想要解决一下这个问题。。

正文完
 0