# linux - 修改DNS

命令行输入:

vi /etc/resolv.conf
1
options rotate timeout:1
; generated by /usr/sbin/dhclient-script
nameserver 8.8.8.8
nameserver 114.114.114.114
1
2
3
4

:wq 保存并退出。

上次更新: 5/6/2022, 4:44:11 PM