关于Parrot OS无法联网

最近想更新升级一下搞事的Parrot,但是发现联不了网了。。。

之前经常遇到。。。立马就想到是哪儿出了问题,DNS解析又玩儿完了

修改 /etc/resolv.conf

删掉所有的 nameserver 并添加一个国内的DNS解析

nameserver 114.114.114.114

当然你也可以加上4.4.4.4和8.8.8.8

之后重启networking

sudo service networking restart

或者使用官方的

# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
search localdomain
# ParrotDNS/OpenNIC AnyCast IPs
nameserver 185.121.177.177
nameserver 169.239.202.202
nameserver 198.251.90.108
nameserver 198.251.90.109
nameserver 198.251.90.110

# Round Robin
options rotate

服务器资源由ZeptoVM赞助

Partners Wiki Discord