View Single Post

  #1 (permalink)  
Old 01-17-2008, 06:08 PM
raj raj is offline
Contributors
User
 
Join Date: Jun 2005
Location: Hyderabad
Posts: 151
Rep Power: 4
raj is on a distinguished road
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