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 1HJ6nS-0003cb-HP for garchives@archives.gentoo.org; Mon, 19 Feb 2007 11:35:07 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l1JBXjx8028822; Mon, 19 Feb 2007 11:33:45 GMT Received: from smtp3.copergmps.it (smtp3.copergmps.it [81.26.192.38]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l1JBSqIT023272 for ; Mon, 19 Feb 2007 11:28:52 GMT Received: from aurelio.utb.mps.it ([10.244.26.130]) by smtp3.copergmps.it with Microsoft SMTPSVC(6.0.3790.1830); Mon, 19 Feb 2007 12:27:35 +0100 Received: from mercurio.mpsfinance.it ([172.16.152.220]) by aurelio.utb.mps.it (SAVSMTP 3.0.0.44) with SMTP id M2007021912340507636 for ; Mon, 19 Feb 2007 12:34:05 +0100 Received: from gentoobox ([172.16.158.3]) by mercurio.mpsfinance.it (Lotus Domino Release 5.0.11) with SMTP id 2007021912282860:1353 ; Mon, 19 Feb 2007 12:28:28 +0100 Date: Mon, 19 Feb 2007 12:23:07 +0100 From: Astolfo Bugatti To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] hostname and domainname Message-Id: <20070219122307.f22a2a90.astolfobugatti@libero.it> In-Reply-To: <45D98627.2090608@brutele.be> References: <45D97CA8.6030808@brutele.be> <200702191227.23923.shrdlu@unlimitedmail.org> <45D98627.2090608@brutele.be> X-Mailer: Sylpheed 2.3.1 (GTK+ 2.10.9; i686-pc-linux-gnu) 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 X-MIMETrack: Itemize by SMTP Server on mercurio/mpsfinance/it(Release 5.0.11 |July 24, 2002) at 02/19/2007 12:28:28 PM, Serialize by Router on mercurio/mpsfinance/it(Release 5.0.11 |July 24, 2002) at 02/19/2007 12:28:28 PM, Serialize complete at 02/19/2007 12:28:28 PM Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1 X-OriginalArrivalTime: 19 Feb 2007 11:27:35.0031 (UTC) FILETIME=[F3D7E870:01C75418] X-Archives-Salt: 1572d06b-0efc-49b4-8a84-5b4422931b72 X-Archives-Hash: c360fdb15679e8ff0455396982b0d8b1 for apply the changes reboot your system!! On Mon, 19 Feb 2007 12:12:39 +0100 Bayrouni wrote: > Etaoin Shrdlu a =E9crit : > > On Monday 19 February 2007 11:32, Bayrouni wrote: > >=20 > >> Hello all, > >> > >> cat /etc/conf.d.hostname > >> # /etc/conf.d/hostname > >> > >> # Set to the hostname of this machine > >> HOSTNAME=3D"MYHOST" > >> > >> and cat /etc/conf.d/domainname > >> DNSDOMAIN=3D"MYDOMAIN" > >> > >> The hostname service is added to the /etc/init.d/ with rc-update, > >> > >> but the commande hostname give: > >> #hostname > >> MYHOST > >> > >> and > >> # hostname -f > >> MYHOST > >> > >> I tried to add the domainname service: > >> sudo rc-update add domainname default > >> * rc-update: '/etc/init.d/domainname' not found; aborting > >> > >> What is wrong or missing in my configuration ? > >=20 > > DNS domain name is not set via /etc/conf.d/domainname anymore. You shou= ld=20 > > use /etc/conf.d/net for that. >=20 > I added this line in /etc/conf.d/net: > dns_domain_lo=3D"MY_DOMAIN" >=20 >=20 > I restarted the net.lo but still the same result: > # domainname > (none) >=20 > # hostname and hostname -f > MY_HOST >=20 > My DNS server is running but it works only as dns cache server. >=20 > So, do I need to configure it as DNS for this machine and the others in > LAN to have hostname and domainname commands working correctly? >=20 > Thanks >=20 >=20 >=20 >=20 >=20 > --=20 > gentoo-user@gentoo.org mailing list >=20 --=20 Astolfo Bugatti -- gentoo-user@gentoo.org mailing list