cnetos 更换dns命令
LInux常见问题 2023-04-19 20:34 4016

echo -e "options timeout:1 attempts:1 rotate\nnameserver 8.8.8.8\nnameserver 114.114.114.114" >/etc/resolv.conf;