标题:
代替127.0.0.53 DNS服务器
[打印本页]
作者:
linda
时间:
2019-4-29 11:37
标题:
代替127.0.0.53 DNS服务器
真实DNS服务器IP:
查看 /etc/resolvconf/resolv.conf.d/base 文件
查看53端口监听程序:
netstat -nap | grep 53
/lib/systemd/systemd-resolved
查看53端口实时流量:
tcpdump -nnn port 53
nslookup
www.baidu.com
停用systemd-resolvd服务:
systemctl stop systemd-resolvd
systemctl disable systemd-resolvd
rm -f /etc/systemd/system/multi-user.target.wants/systemd-resolved.service
参考:
https://www.feiqy.com/ubuntu-dns/
https://askubuntu.com/questions/1012641/dns-set-to-systemds-127-0-0-53-how-to-change-permanently
欢迎光临 中神通公司技术论坛 (http://trustcomputing.com.cn/bbs/)
Powered by Discuz! 6.0.0