adhome 问题

53 天前
 KINGWAY

192.168.1.99 上跑了个 adhome ,在/etc/resovl.conf 添加自身 IP 时候,运行 nslookup google.com 总是出现下面提示:

root@datahub:/etc# nslookup google.com ;; communications error to 192.168.1.99#53: timed out ;; communications error to 192.168.1.99#53: timed out

/etc/resolv.conf 内容如下:

GNU nano 7.2 resolv.conf
search abwayer.com #nameserver 192.168.1.99 nameserver 192.168.1.1 nameserver 8.8.8.8 nameserver 8.8.4.4

已经关闭了防火墙,同时检测 53 端口是打开的, 请问是 adhome 哪里需要设置吗?

1229 次点击
所在节点    程序员
2 条回复
adrianzhang
53 天前
netstat 看一下 53 端口侦听的 IP
KINGWAY
52 天前
@adrianzhang 谢谢,发现了是 v2raya 的问题(我在这个机器用 v2raya 做内网的透明代理)

root@datahub:~# netstat -tulnp|grep 53
tcp6 0 0 :::53 :::* LISTEN 1494/AdGuardHome
udp6 0 0 :::53428 :::* 2454/v2ray
udp6 0 0 :::45384 :::* 2454/v2ray
udp6 0 0 :::53 :::* 1494/AdGuardHome

正在研究如何让 adhome 接管 dns
https://v2raya.org/docs/advanced-application/advanced-dns/

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/1060599

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX