Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

change dns linux

rm -r /etc/resolv.conf
nano /etc/resolv.conf
sudo chattr +i /etc/resolv.conf
sudo /etc/init.d/networking restart
Source by geekflare.com #
 
PREVIOUS NEXT
Tagged: #change #dns #linux
ADD COMMENT
Topic
Name
5+7 =