Hans-Gunther Borrmann schrieb:
On Wednesday 16 August 2006 21:51, Anthony E. Caudel wrote:
As of baselayout-1.12.4, the domainname init script is no longer used
and the Gentoo Handbook no longer tells how to set the domainname.
domainname now returns "(none)"

/etc/conf.d/net.example talks about setting up dns_domain but if this is
used, it overwrites /etc/resolv.conf.

So how is the domainname now set?

Tony

in /etc/resolv.conf

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".

Alexander Skwar
--
Remember that as a teenager you are in the last stage of your life when
you will be happy to hear that the phone is for you.
                -- Fran Lebowitz, "Social Studies"
--
gentoo-user@gentoo.org mailing list

Reply via email to