Warning: session_start(): Unable to clear session lock record in /www/wwwroot/reaff.com/wp-content/themes/Autumn-Pro/functions.php on line 5

Warning: session_start(): Failed to read session data: memcached (path: 127.0.0.1:11211) in /www/wwwroot/reaff.com/wp-content/themes/Autumn-Pro/functions.php on line 5
Centos6 永久修改DNS地址的方法 – 王板汪之家

Centos6 永久修改DNS地址的方法

cera cera

手头持有的vultr IPv6 only的vps,之前为了配置环境的需要临时加了一会儿IPv4地址,似乎把dns搞乱了,去掉IPv4之后,IPv6无法解析了,只能手工修改一下DNS。

修改配置ip地址文件 /etc/sysconfig/network-scripts/ifcfg-eth0

vi /etc/sysconfig/network-scripts/ifcfg-eth0
加入一行

DNS1=2001:4860:4860::8888
保存后重启网络即可

Bash
service network restart

 

cera cloudiplc tengxunyun

相关推荐

mjjping.com cera cera cloudiplc