Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

change dns linux

sudo vim /etc/resolvconf/resolv.conf.d/base

# add nameserver(s) like this.
nameserver 8.8.8.8
nameserver 8.8.4.4

$ sudo resolvconf -u
Comment

change dns linux

rm -r /etc/resolv.conf
nano /etc/resolv.conf
sudo chattr +i /etc/resolv.conf
sudo /etc/init.d/networking restart
Comment

how to change the dns in linux

sudo gedit /etc/resolv.conf

# add nameserver(s) like this.
nameserver 8.8.8.8
nameserver 8.8.4.4
Comment

PREVIOUS NEXT
Code Example
Shell :: conda install scikit-learn 
Shell :: Jwt Authentication error Argument 3 passed to LcobucciJWTSignerHmac::doVerify() 
Shell :: git remove commit 
Shell :: expo start production mode 
Shell :: how to stop port 3000 in windows 
Shell :: what is my monitor resolution ubuntu 
Shell :: install prisma 
Shell :: docker remove all images 
Shell :: install docker on debian 
Shell :: pitivi download ubuntu 
Shell :: uninstall packages linux terminal 
Shell :: how to uninstall wps office in ubuntu 
Shell :: pip install django-heroku error 
Shell :: apply last stash git 
Shell :: ubuntu install zsh 
Shell :: docker post installation steps linux 
Shell :: You must install graphviz to plot tree mac 
Shell :: git remove repository local 
Shell :: pyserial installing 
Shell :: bypass login jupyter ubuntu 
Shell :: lxc delete container 
Shell :: windows 10 copy ssh key to server 
Shell :: skype linux install 
Shell :: git create new branch 
Shell :: pip install tensorflow not working 
Shell :: enable lightdm 
Shell :: upgrade beautifulsoup version 
Shell :: install brave in ubuntu 
Shell :: uninstall figma from linux distributions 
Shell :: bash display items in array 
ADD CONTENT
Topic
Content
Source link
Name
5+6 =