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.62) (envelope-from ) id 1H8fip-00010D-Q2 for garchives@archives.gentoo.org; Sun, 21 Jan 2007 16:39:12 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id l0LGc5J7013485; Sun, 21 Jan 2007 16:38:06 GMT Received: from lancia.kaluga.ru (mx.kaluga.ru [62.148.128.2]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id l0LGXWVo007947 for ; Sun, 21 Jan 2007 16:33:33 GMT Received: from pavillion ([62.148.150.64]) by lancia.kaluga.ru (8.13.8/8.13.8) with ESMTP id l0LGXUR9059050 for ; Sun, 21 Jan 2007 19:33:31 +0300 (MSK) Date: Sun, 21 Jan 2007 19:33:46 +0300 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] setting system's domain name From: "Andrey Gerasimenko" Content-Type: text/plain; format=flowed; delsp=yes; charset=windows-1251 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 References: <17843.35453.968067.36106@ccs.covici.com> Message-ID: In-Reply-To: <17843.35453.968067.36106@ccs.covici.com> User-Agent: Opera Mail/9.10 (Win32) Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from Quoted-Printable to 8bit by robin.gentoo.org id l0LGXWVo007947 X-Archives-Salt: 272af054-316a-4651-9fcd-fa19cfbb4b3e X-Archives-Hash: c963f24533a3ac20b6b7c5d73934c7fc On Sun, 21 Jan 2007 18:45:01 +0300, John covici wrote: > I am having problems setting the domain name of a new gentoo > installation. I looked at /etc/conf.d/net.examples and tried what > seemed to me what they were looking for such as > DNS_LO="" > > The host name works, although I would like to not have it wipe out my > resolv.conf. I can set hostname to the fully qualified name using the > hostname command, but gentoo still says unknown domain name when I log > in, so I am not sure this is correct. > > Any assistance would be appreciated. > After I set the host name in /etc/conf.d/hostname (so that /etc/init.d/hostname could set it on startup), set the domain name with #domainname, and allowed it to be resolved to 129.0.0.1 in hosts, the log in screen started to show the correct host and domain. It looks like the login screen displays the FQDN whenever it can be resolved. -- Andrei Gerasimenko -- gentoo-user@gentoo.org mailing list