chattr +i /etc/resolv.conf chattr -i /etc/resolv.conf chattr -ai /etc/resolv.conf 转载于:https://www.cnblogs.com/allenhaozi/p/9269283.html