Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR 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
Source by unix.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #change #dns #linux
ADD COMMENT
Topic
Name
3+7 =