Ubuntu Linux Configure DNS Name Server IP Address ( DNS Client )
Q. How do I change existing name server IP address? How do I configure DNS name server IP address under Ubuntu Linux / Debian Linux? How do I configure DNS name resolution under Ubuntu Linux?
A. You need to edit /etc/resolv.conf file under Debian / Ubuntu Linux to set Name server IP address that the resolver should query. Up to 3 name server internet IP address can be defined. If there are multiple servers, the resolver library queries them in the order listed.
Ubuntu Linux Configure DNS Name resolution
Type the following command, enter:
$ sudo /etc/resolv.conf
Append your ISP name server or free fast dns nameservers IP address as follows:
nameserver 208.67.222.222
nameserver 208.67.220.220
nameserver 202.51.5.52
Save and close the file. Test your dns configuration by typing the following commands:
$ host yahoo.com
$ nslookup google.com
$ ping nixcraft.in
E-mail this to a friend
Printable version
Related Other Helpful FAQs:
- Linux / UNIX set the DNS from the command line
- How To Set BIND9 With Go Daddy Registered Domain
- Free DNS Server
- Ubuntu Linux Configure Gateway / Default Routing IP Address
- Howto Red hat enterprise Linux 5 configure the network card
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!
Tags: /etc/resolv.conf, dns names, host command, Linux, nameserver 208.67.220.220, nameserver 208.67.222.222, nslookup_command, ping command, server ip, Ubuntu Linux




Recent Comments
Yesterday ~ 7 Comments
Yesterday ~ 2 Comments
Yesterday ~ 3 Comments
Yesterday ~ 3 Comments
09/05/2008 12:28 pm (2 days ago) ~ 70 Comments