On Thursday 17 August 2006 10:32, Alexander Skwar wrote:

> Nope. resolv.conf doesn't have any influence on the hostname or
> domainname. It controls, how names/ips are resolved.
>
> If it would be as you say, what would be my domainname?
>
> [EMAIL PROTECTED]:~/tmp/sources/samba/samba-3.0.22/source/utils$ cat
> /etc/resolv.conf search bei.digitalprojects.com
> nameserver 192.168.1.1
>
>  > (man resolv.conf).
>
> NAME
>         resolv.conf - resolver configuration file
>
>
> The "domain" setting doesn't do what you say.
>
> [...]
>         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 [...]
>
> See? It's for "queries for names".

and from where does my machine get its domain name? It is only contained in 
resolv.conf.

urmel ~ # hostname
urmel
urmel ~ # dnsdomainname
ruf.uni-freiburg.de

Gunther
-- 
________________________________________________________________
Hans-Gunther Borrmann <[EMAIL PROTECTED]>
Rechenzentrum der Universitaet Freiburg
Hermann-Herder-Str. 10, D79104 FREIBURG
Tel.: +49 761/203-4652
Fax:  +49 761/203-4643
-- 
gentoo-user@gentoo.org mailing list

Reply via email to