Linux

This post was most recently updated on December 11th, 2018

First, make sure you have internet access, and make sure resolvconf is installed on your system.

sudo aptitude install resolvconf”

Next, let me explain the elements of resolvconf.

/etc/resolvconf/resolv.conf.d/head is the header file for the dynamic generation. Leave this alone.

/etc/resolvconf/resolv.conf.d/base is the “meat” of the file, or the middle. Define your nameservers here using this syntax: “nameserver xxx.xxx.xxx.xxx” where xxx.xxx.xxx.xxx is the ip of your nameserver.

/etc/resolvconf/resolv.conf.d/tail is the ending of this file. Leave this one alone too.

/etc/resolvconf/resolv.conf.d/original is the original configuration of the file. These isn’t anything you have to do for this file.

After you have applied your changes, but before you restart your network service, run this command:

 

sudo resolvconf -u”

This will run the script and update your /etc/resolv.conf file. This apparently should happen every time the machine boots.

After that, restart your networking service with this command:

sudo /etc/init.d/networking restart”

 

 

 something about updating:

a) Open terminal and type following two commands (Application > Accessories > Terminal):

b) Get update software list, enter:
$ sudo apt-get update

c) Update software(s) i.e. apply updates:
$ sudo apt-get upgrade

Related Post