Gentoo Archives: gentoo-user

From: "Stéphane Guedon" <stephane@××××××××××.eu>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] how can I set up domainname?
Date: Tue, 08 Nov 2011 18:36:16
Message-Id: 201111081934.57585.stephane@22decembre.eu
In Reply to: Re: [gentoo-user] how can I set up domainname? by Paul Hartman
1 On Tuesday 08 November 2011 19:11:57 Paul Hartman wrote:
2 > On Tue, Nov 8, 2011 at 11:57 AM, Jarry <mr.jarry@×××××.com> wrote:
3 > > Hi,
4 > > after finishing installation, I see this prompt:
5 > >
6 > > This is <hostname>.unknown_domain (Linux x86_64...
7 > >
8 > > While <hostname> is correct, I wonder why is there that
9 > > "unknown_domain"? In /etc/conf.d/net I have:
10 > >
11 > > dns_domain_lo="<mydomain>"
12 > >
13 > > So why is this <mydomain> not used in login prompt?
14 > > Funny thing is, on other machine which I installed
15 > > a few years ago I see it correctly displayed as
16 > > <hostname>.<domainname>. And I can not find any
17 > > difference (except baselayout1 vs baselayout2)...
18 >
19 > What's in your /etc/conf.d/hostname?
20 you should look in /etc/conf.d/net but also in /etc/hosts !
21
22 your computer should have
23 ip-adress hostname.dsdomain.com (net, other)… alias one two …
24
25 you need it !
26
27 --
28 Stéphane Guedon
29 page web : http://www.22decembre.eu/
30 carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf
31 clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] how can I set up domainname? Jarry <mr.jarry@×××××.com>