Hans-Gunther Borrmann schrieb:
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.
Good question. But as I've shown, it's not necessary to set it
in /etc/resolv.conf.
Alexander Skwar
--
Go climb a gravity well!
--
gentoo-user@gentoo.org mailing list