Gentoo Archives: gentoo-user

From: Roman Zilka <rzilka@××××.cz>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to set domainname
Date: Thu, 17 Aug 2006 09:09:53
Message-Id: 20060817110210.A32203@eniac.gvid.cz
In Reply to: [gentoo-user] How to set domainname by "Anthony E. Caudel"
1 > So how is the domainname now set?
2
3 This was discussed here before; I think the solution was
4 to put something somewhere in a specific order. I have this working
5 properly and these're my files:
6
7 # cat /etc/conf.d/domainname
8 OVERRIDE=1
9 DNSDOMAIN="gvid.cz"
10 NISDOMAIN=""
11 # cat /etc/resolv.conf
12 nameserver 127.0.0.1
13 nameserver 10.0.0.3
14 search gvid.cz
15 domain gvid.cz
16 # cat /etc/hosts
17 127.0.0.1 univac.gvid.cz univac localhost
18 ::1 ip6-localhost ip6-loopback
19 fe00::0 ip6-localnet
20 ff00::0 ip6-mcastprefix
21 ff02::1 ip6-allnodes
22 ff02::2 ip6-allrouters
23 ff02::3 ip6-allhosts
24 # cat /etc/conf.d/net
25 config_eth0=( "10.0.0.38 netmask 255.255.255.0" )
26 routes_eth0=( "default gw 10.0.0.2" )
27 dns_servers="127.0.0.1 10.0.0.3"
28 dns_domain="gvid.cz"
29 dns_search="gvid.cz"
30
31 Now try preserving the same order of lines and the same order of keywords on
32 each line. I think the one itching spot was to put the various names
33 on the first line of /etc/hosts in the prescribed order.
34
35 HTH,
36 -Roman
37 --
38 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] How to set domainname Roman Zilka <rzilka@××××.cz>
Re: [gentoo-user] How to set domainname Hans-Gunther Borrmann <hans-gunther.borrmann@×××××××××××××××.de>