Gentoo Archives: gentoo-user

From: "Anthony E. Caudel" <acaudel@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to set domainname
Date: Thu, 17 Aug 2006 00:44:00
Message-Id: 44E3BAD4.1030802@gt.rr.com
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
30 I don't use /etc/hostname and I DO use /etc/conf.d/hostname. What has
31 this to do with the domainname? Are they both set there?
32
33 Tony
34
35 --
36 Those who would give up essential Liberty, to purchase a little temporary
37 Safety, deserve neither Liberty nor Safety.
38 -- Benjamin Franklin
39 --
40 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] How to set domainname Phil Sexton <philsexton@×××××××.Net>
Re: [gentoo-user] How to set domainname Alexander Skwar <listen@×××××××××××××××.name>