> So how is the domainname now set?

This was discussed here before; I think the solution was
to put something somewhere in a specific order. I have this working
properly and these're my files:

# cat /etc/conf.d/domainname
OVERRIDE=1
DNSDOMAIN="gvid.cz"
NISDOMAIN=""
# cat /etc/resolv.conf
nameserver 127.0.0.1
nameserver 10.0.0.3
search gvid.cz
domain gvid.cz
# cat /etc/hosts
127.0.0.1       univac.gvid.cz univac localhost
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
# cat /etc/conf.d/net
config_eth0=( "10.0.0.38 netmask 255.255.255.0" )
routes_eth0=( "default gw 10.0.0.2" )
dns_servers="127.0.0.1 10.0.0.3"
dns_domain="gvid.cz"
dns_search="gvid.cz"

Now try preserving the same order of lines and the same order of keywords on
each line. I think the one itching spot was to put the various names
on the first line of /etc/hosts in the prescribed order.

HTH,
-Roman
-- 
gentoo-user@gentoo.org mailing list

Reply via email to