How to set up DNS in Ubuntu
You can add hostname and IP addresses to the file /etc/hosts for static lookups.
You can add your DNS Server Ip address for name lookups to /etc/resolv.conf.
For example If you want to add the DNS server at IP address 8.8.8.8
sudo vi /etc/resolv.conf
If you have GUI use the following command
gksudo gedit /etc/resolv.conf
enter the following details
search test.com
nameserver 8.8.8.8
Monday, February 27, 2012
HOW TO ADD DNS IN UBUNTU / DEBIAN LINUX
Posted by panayara at 9:53 AM
Subscribe to:
Post Comments (Atom)



Stumble It!


0 Comments:
Post a Comment