1、设置 DNS 文件

[root@localhost ~]# vi /etc/resolv.conf
# Generated by NetworkManager                                               
  search localdomain                                                          
  nameserver 8.8.8.8                                                          
  nameserver 8.8.4.4
Last modification:June 2, 2022
如果觉得我的文章对你有用,请随意赞赏