root@ubuntu:/etc/dhcp# vim /etc/dhcp/dhclient.conf
Change/Add (uncomment) following line:
prepend domain-name-servers 8.8.8.8;
Note that you may need to change 8.8.8.8 to your own DNS server ip.
This was written by Vivek Khokhar. Posted on Saturday, November 26, 2011, at 10:09 pm. Filed under Uncategorized. Tagged dhcp, dns, linux, nameservers, ubuntu. Bookmark the permalink. Follow comments here with the RSS feed. Comments are closed, but you can leave a trackback.