View Single Post
  #1 (permalink)  
Old 17-01-2008, 05:08 PM
raj's Avatar
raj raj is offline
Senior Member
User
 
Join Date: Jun 2005
Location: Hyderabad
OS: Fedora, Debian Linux
Posts: 307
Thanks: 42
Thanked 8 Times in 8 Posts
Rep Power: 6
raj will become famous soon enough raj will become famous soon enough
Default Linux Configure Name Resolution

The name resolution (DNS Server) is configured in the file /etc/resolv.conf file.
Code:
vi /etc/resolv.conf
gedit /etc/resolv.conf
The content of the file is similar to the following:
Code:
search isp.com
nameserver 10.0.0.254
nameserver 202.54.1.10
nameserver 203.22.5.254
The search option is used to complete incomplete host names. For example, if you look up the host name router, the name is automatically completed to the fully qualified domain name router.isp.com.

The nameserver option - Every entry starting with nameserver is followed by an IP address of a name server. You can configure up to 3 name servers. If the first name
server fails, the next one is used.
__________________
Raj
Linux rulz.
I have never turned back in my life ; I shall not do so today.. haha
Reply With Quote