Gentoo Archives: gentoo-user

From: Mike <whodie@×××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to set domainname
Date: Thu, 17 Aug 2006 02:04:30
Message-Id: 44E3CCF1.6060906@comcast.net
In Reply to: Re: [gentoo-user] How to set domainname by Phil Sexton
1 Phil Sexton wrote:
2 > Anthony E Caudel wrote:
3 >> Mike wrote:
4 >>
5 >>> Anthony E. Caudel wrote:
6 >>>
7 >>>> As of baselayout-1.12.4, the domainname init script is no longer used
8 >>>> and the Gentoo Handbook no longer tells how to set the domainname.
9 >>>> domainname now returns "(none)"
10 >>>>
11 >>>> /etc/conf.d/net.example talks about setting up dns_domain but if
12 >>>> this is
13 >>>> used, it overwrites /etc/resolv.conf.
14 >>>>
15 >>>> So how is the domainname now set?
16 >>>>
17 >>>> Tony
18 >>>
19 >>> /etc/hosts ?
20 >>
21 >>
22 >> Well, perhaps. It is in my /etc/hosts. But domainname still returns
23 >> (none)
24 >>
25 >> Tony
26 >
27 > You should stop using /etc/hostname and use /etc/conf.d/hostname
28 >
29 There is no /etc/hosts on my system we are using /etc/conf.d/hostname but the
30 domain name is still not set.
31
32 Mike
33 --
34 gentoo-user@g.o mailing list