[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] RESOLV.CONF



Hi Serge,

Schadroff wrote:
Hi all,

On my RaQ4i, content of /etc/resolv.conf file is :
search [mydomain.com]
nameserver 192.168.1.125

On my RaQ550, it is :
# /etc/resolv.conf
# Auto-generated file.  Keep your customizations at the bottom of this
file.
search [mydomain.com]
domain [mydomain.com]
#END of auto-generated code.  Customize beneath this line.

Does somebody knows what would be the exact content ?
--
Serge
man resolv.conf is your friend. But in a nutshell, it does not matters. Think of the /etc/resolv.conf file as the DNS settings on the Windows PC.

Below is the text for search and domain from the man page.

domain
======
Local domain name. Most queries for names within this domain can use short names relative to the local domain. If no domain entry is present, the domain is determined from the local host name returned by gethostname(2); the domain part is taken to be everything after the first `.'. Finally, if the host name doesnot contain a domain part, the root domain is assumed.

search
======

Search list for host-name lookup. The search list is normally determined from the local domain name; by default, it contains only the local domain name. This may be changed by listing the desired domain search path following the search keyword with spaces or tabs separating the names. Most resolver queries will be attempted using each component of the search path in turn until a match is found. Note that this process may be slow and will generate a lot of network traffic if the servers for the listed domains are not local, and that queries will time out if no server is available for one of the domains.

The search list is currently limited to six domains with a total of 256 characters.

--
Regards,

Gaurav Sabharwal
http://www.inwire.net