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 1GDhNw-00066g-VF for garchives@archives.gentoo.org; Thu, 17 Aug 2006 12:54:09 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k7HColKP001809; Thu, 17 Aug 2006 12:50:47 GMT Received: from forum.psychotherapie.org (s15216962.onlinehome-server.info [217.160.22.205]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k7HCjwi7010601 for ; Thu, 17 Aug 2006 12:45:58 GMT Received: (from uucp@localhost) by forum.psychotherapie.org (8.13.3/8.13.3/SuSE Linux 0.7) with UUCP id k7HCjwR9031648 for gentoo-user@lists.gentoo.org; Thu, 17 Aug 2006 14:45:58 +0200 Received: (from weigelt@localhost) by metux.de (8.12.10/8.12.10) id k7HCj2sb015302 for gentoo-user@lists.gentoo.org; Thu, 17 Aug 2006 14:45:02 +0200 Date: Thu, 17 Aug 2006 14:45:02 +0200 From: Enrico Weigelt To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] How to set domainname Message-ID: <20060817124502.GA10724@nibiru.local> References: <44E37755.5010800@gt.rr.com> <20060817110210.A32203@eniac.gvid.cz> <200608171219.08238.hans-gunther.borrmann@rz.uni-freiburg.de> <20060817125000.C32203@eniac.gvid.cz> 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=us-ascii Content-Disposition: inline In-Reply-To: <20060817125000.C32203@eniac.gvid.cz> User-Agent: Mutt/1.4.1i X-Archives-Salt: 01be8af3-fbdd-40c8-8697-b2e3ebfa1e91 X-Archives-Hash: 66271a8ef5a82b1a78fe2472b74df771 * Roman Zilka wrote: > > > # cat /etc/resolv.conf > > > nameserver 127.0.0.1 > > > nameserver 10.0.0.3 > > > search gvid.cz > > > domain gvid.cz > > > > domain and search are mutually exclusive! > > Hm, I see, thanks for the hint. Somehow somewhere I got a wrong understanding > of what "search" actually means. * "domain" is the namespace where all your non-cacnonical hostnames sit in, so necessary for constructing the canonical names (FQDNs). For example, if your box's name is "furunkel" and your domainname is "my-back.net", then your FQDN becomes "furunkel.my-back.net". * "search" is the list of the namespaces where non-canonical names are searched in on lookup. For example, you've got "foo.org" and "blubb.de" in your search list and you're doing a lookup for "mybox", it will try the FQDNs "mybox.foo.org" and "mybox.blubb.de". I didn't ever try what happens when domain also added to search list (maybe nothing, since its searched anyway), but it does not make any sense. cu -- --------------------------------------------------------------------- Enrico Weigelt == metux IT service - http://www.metux.de/ --------------------------------------------------------------------- Please visit the OpenSource QM Taskforce: http://wiki.metux.de/public/OpenSource_QM_Taskforce Patches / Fixes for a lot dozens of packages in dozens of versions: http://patches.metux.de/ --------------------------------------------------------------------- -- gentoo-user@gentoo.org mailing list