Gentoo Archives: gentoo-user

From: "Anthony E. Caudel" <acaudel@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to set domainname (SOLVED)
Date: Fri, 18 Aug 2006 17:08:14
Message-Id: 44E5F258.309@gt.rr.com
In Reply to: [gentoo-user] How to set domainname by "Anthony E. Caudel"
1 Anthony E. Caudel wrote:
2 > As of baselayout-1.12.4, the domainname init script is no longer used
3 > and the Gentoo Handbook no longer tells how to set the domainname.
4 > domainname now returns "(none)"
5 >
6 > /etc/conf.d/net.example talks about setting up dns_domain but if this is
7 > used, it overwrites /etc/resolv.conf.
8 >
9 > So how is the domainname now set?
10 >
11 > Tony
12
13 Ok, I finally got it through my thick head. Ryan Tandy had pointed out
14 that "domainname" is not the proper way to display the FQDN; - it
15 displays the NIS/YP domainname which I don't have. But his comment went
16 over my head until now. "dnsdomainname" is the command I should have
17 been using and it does report the correct domain.
18
19 Also, I confirmed that my domainname (dnsdomainname) is being set in
20 /etc/hosts, as some others have pointed out.
21
22 So, thanks to everyone for their patience with me, especially Alexander
23 Skwar.
24
25 Tony
26 --
27 Those who would give up essential Liberty, to purchase a little temporary
28 Safety, deserve neither Liberty nor Safety.
29 -- Benjamin Franklin
30 --
31 gentoo-user@g.o mailing list