From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-51306-garchives=archives.gentoo.org@gentoo.org>)
	id 1GP2WN-0003xs-QZ
	for garchives@archives.gentoo.org; Sun, 17 Sep 2006 19:41:44 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k8HJf1Bi004546;
	Sun, 17 Sep 2006 19:41:01 GMT
Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170])
	by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k8HJaRFN027879
	for <gentoo-user@lists.gentoo.org>; Sun, 17 Sep 2006 19:36:28 GMT
Received: by ug-out-1314.google.com with SMTP id p27so304493ugc
        for <gentoo-user@lists.gentoo.org>; Sun, 17 Sep 2006 12:36:27 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
        b=Iu5UNs5YmaQQtYbdUio4duOvHRa4C225Kl/7oronME4VMguIVeW0226GwMB985k23GSIYbHMATOq0HgxQ8NPM9iIIwMIsb3PqRWG759cTjxdf37vxktF0Kaz1e2MV27Tc6nHGuecFa3lXN3M9wysF9qFak6FoIp8ff8KPhW6aEc=
Received: by 10.66.216.20 with SMTP id o20mr6777948ugg;
        Sun, 17 Sep 2006 12:36:27 -0700 (PDT)
Received: by 10.66.223.11 with HTTP; Sun, 17 Sep 2006 12:36:27 -0700 (PDT)
Message-ID: <c268e4660609171236t3e40023dif8d5d2d39ed695c4@mail.gmail.com>
Date: Sun, 17 Sep 2006 12:36:27 -0700
From: Drew <drew.kay@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Re: Re: What is up with the new "domainname" situation?
In-Reply-To: <450D8B18.8010706@veldy.net>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <450CCF71.7020007@veldy.net>
	 <200609171245.58695.michaelkintzios@gmail.com>
	 <2507747.DxjkuuyZWt@m-id.message-center.info>
	 <200609171448.15022.michaelkintzios@gmail.com>
	 <9acccfe50609170745q5d8225c9n4f72e211f1c0b036@mail.gmail.com>
	 <1195472.0AGzUoq8gl@m-id.message-center.info>
	 <450D8B18.8010706@veldy.net>
X-Archives-Salt: 09454177-cb7a-4bab-a059-feca55109c2f
X-Archives-Hash: 548412329333960b1d197ba35822b480

> Following all instructions results in the console login prompt looking
> something like this:
>
> Linux version(hostname.unknown_domain)
>
> Which looks ludicrous ... it is also expecting domainname [or API
> equivalent] to return something other than "none".
>
> Tom Veldhouse

I don't know if this helps but I was fiddling with setting up 2006.1
and I noted the following...

1) dns_domain="" does nothing for setting the domain name. It appears
to be set via /etc/hosts

2) using "localhost" in /etc/conf.d/hostname will cause the domain
name to default to "none"

3) Setting a hostname in /etc/conf.d/hostname that doesn't match with
an entry in /etc/hosts grabs the domain name of entries that are part
of the same subnet. I don't have multiple interfaces on different
subnets to test other cases of this but it works for me.

My working config (mini.drew.homelinux.com) has the hostname of 'mini'
set in /etc/conf.d/hostname, 'drew.homelinux.com' set in dns_domain=
and mini.drew.homelinux.com listed under /etc/hosts.

Please note this was tested on an amd64 setup with a single ethernet
interface under VMware (running under M$ XP Pro x64).


-Drew
-- 
gentoo-user@gentoo.org mailing list