Tag Archives: static dns

How to add static DNS in Ubuntu 12.04 LTS

Please refer to this tutorial for adding the static ip address in Ubuntu 12.04.

Ubuntu 12.04 use resolvconf(a set of scripts and hooks) instead of resolv.conf to manage DNS server. The most notable difference for the user is that any change manually done to /etc/resolv.conf will be lost as it gets overwritten next time something triggers resolvconf.

To add the static dns entries in resolv.conf file,edit /etc/resolvconf/resolv.conf.d/base:

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

Read more of this post

%d bloggers like this: