一键装的PVE,NAT小鸡无法访问域名求助

25次阅读

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

这个项目:https://www.spiritlhl.net/guide/pve/pve_install.html

用项目装的 PVE,又用的他的脚本建的 NAT Debian 小鸡,小鸡可以 SSH 连接,也可以 PING 通 8.8.8.8,也设置 DNS 服务器了,就是 curl 谷歌域名不行。

auto lo
  iface lo inet loopback

auto eth0
  iface eth0 inet static
   address 172.16.1.20
   gateway 172.16.1.1
   netmask 255.255.255.0
   dns-nameservers 8.8.8.8 8.8.4.4
复制代码

正文完
 0