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 ) id 1GP04G-0002rC-2C for garchives@archives.gentoo.org; Sun, 17 Sep 2006 17:04:32 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k8HH3qhp013438; Sun, 17 Sep 2006 17:03:52 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k8HGxUG3017382 for ; Sun, 17 Sep 2006 16:59:31 GMT Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 1A0036448B for ; Sun, 17 Sep 2006 16:59:30 +0000 (UTC) Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 18403-19 for ; Sun, 17 Sep 2006 16:59:27 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 6262764400 for ; Sun, 17 Sep 2006 16:59:27 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GOzz7-0007Fe-Pz for gentoo-user@gentoo.org; Sun, 17 Sep 2006 18:59:13 +0200 Received: from mue-88-130-100-246.dsl.tropolys.de ([88.130.100.246]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 17 Sep 2006 18:59:13 +0200 Received: from listen by mue-88-130-100-246.dsl.tropolys.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 17 Sep 2006 18:59:13 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Alexander Skwar Subject: [gentoo-user] Re: Re: Re: What is up with the new "domainname" situation? Date: Sun, 17 Sep 2006 18:59:17 +0200 Organization: =?UTF-8?B?LsK3Lg==?= Message-ID: <1195472.0AGzUoq8gl@m-id.message-center.info> 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> 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 Content-Type: text/plain; charset=utf-8 X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: mue-88-130-100-246.dsl.tropolys.de User-Agent: KNode/0.10.4 Sender: news X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Status: No, score=-2.57 required=5.5 tests=[AWL=0.029, BAYES_00=-2.599] X-Spam-Score: -2.57 X-Spam-Level: Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id k8HH3qi5013438 X-Archives-Salt: ded6e333-10a8-4b89-ac9f-55881da0f792 X-Archives-Hash: 5596941afaa4545be3095bcad0b108da =C2=B7 Kevin O'Gorman : > On 9/17/06, Mick wrote: >> On Sunday 17 September 2006 13:43, Alexander Skwar wrote: >> > =C2=B7 Mick : >> > > On Sunday 17 September 2006 09:21, Neil Bothwick wrote: >> > >> On Sun, 17 Sep 2006 07:50:28 +0200, Alexander Skwar wrote: >> > > Can you please guide me how to set it up globally? >> > >> > It's all in /etc/conf.d/net.example. >> > >> > > I am not sure I can follow >> > > the otherwise well commented /etc/conf.d/net. >> > >> > What problems do you have specifically? >> > What did you try? >> > What was the expected outcome and what did you get in reality? >> >> I saw this: # dns_domain_eth0=3D"your.domain" in the /etc/conf.d/net.e= xample and >> added: dns_domain=3D"STUDY" >> >> but still .none comes up: >> >> # domainname >> (none) >> >=20 > I have to join in the confusion too. Reading the examples I come to th= e same > conclusion that I should be able to put > dns_domain=3D"kosmanor.com" > in /etc/conf.d/net and have it work. You're right. I've got: # Alle Interfaces modules=3D( "ifconfig" ) dns_servers=3D"130.171.200.151 130.171.157.129" dns_search=3D"dewup.europe europe" dns_domain=3D"dewup.europe" ntp_servers=3D"130.171.200.145 130.171.200.144" nis_domain=3D"wup.de" nis_servers=3D"10.233.7.240" # eth0 - LAN config_eth0=3D( "10.233.7.145 netmask 255.255.248.0 broadcast 10.233.7.25= 5" ) routes_eth0=3D( "default via 10.233.0.250" ) And this does work. As you can see, I've got dns_domain=3D"dewup.europe" = and when I run "hostname -d", I get the expected result - dewup.europe. > As I have static IP's and a single domain I see no point in > per-interface domains, but The point has been explained. > if I used them, what in the world could I expect domainname(1) to tell = me? The domainname. But you haven't set one. You've set the DNS domainname. d= omainname doesn't return the DNS domainname as the documentation clearly states. Se= e "hostname --help" or "domainname --help". > It seems to me the most common setups are DHCP or something like mine, = and I > would hope the documentation was clear for those common cases. Actually, I find it quite clear. The documentation states what needs to b= e done and it states, what the commands return. It seems, that you've used the wrong command. Alexander Skwar --=20 The only difference in the game of love over the last few thousand years is that they've changed trumps from clubs to diamonds. -- The Indianapolis Star --=20 gentoo-user@gentoo.org mailing list