原因:dns服务器没有了配置信息。

    配置dns服务器

         ubuntu 的dns服务器信息,放在 /etc/resolv.conf中,
         添加dns服务器地址,如192.168.1.1,则在上述文件中加入
             nameserver 192.168.1.1
 
root@hbg:/etc/network# cd ..
root@hbg:/etc# cat resolv.conf
# Generated by NetworkManager
nameserver 192.168.1.1             这一行

相关文章:

  • 2021-05-01
  • 2022-12-23
  • 2022-12-23
  • 2021-05-21
  • 2021-10-17
  • 2022-02-07
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-04-26
  • 2021-12-08
  • 2021-11-13
  • 2022-12-23
  • 2021-05-08
  • 2021-12-25
相关资源
相似解决方案