Change the solution of /etc/resolv.conf content lost after system restart

The target file
/etc/sysconfig/network-scripts/ifcfg-eth0

is modified to
add PEERDNS content, if there is PEERDNS, change the value to no
PEERDNS=no

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327068906&siteId=291194637
Recommended