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 1GDeA1-0000fz-Sk for garchives@archives.gentoo.org; Thu, 17 Aug 2006 09:27:34 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k7H9O4YS027412; Thu, 17 Aug 2006 09:24:04 GMT Received: from hetzner.email-server.info (new.email-server.info [213.133.109.44]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k7H9JKH5031362 for ; Thu, 17 Aug 2006 09:19:20 GMT Received: by hetzner.email-server.info (Postfix, from userid 1001) id BDE9B3998F; Thu, 17 Aug 2006 11:21:14 +0200 (CEST) X-Spam-Tests: AWL=0.079,BAYES_00=-2.599 X-Spam-Contact: Contact Address X-Spam-Checker-Version: SpamAssassin 3.1.3-gr1 (2006-06-01) on hetzner.email-server.info X-Spam-Relays: Trusted=, Untrusted=[ ip=88.130.95.174 rdns=mue-88-130-95-174.dsl.tropolys.de helo=!192.168.1.244! by=hetzner.email-server.info ident= envfrom= intl=0 id=7260439971 auth= ] X-Spam-Level: X-Spam-Bayes: Score=0.0000, Tokens=Tokens: new, 7; hammy, 115; neutral, 55; spammy, 2., Hammy=0.000-+--schrieb, 0.000-+--UD:conf, 0.000-+--H*M:mid, 0.000-+--H*r:sk:mue-88-, 0.000-+--H*RU:sk:mue-88-, Spammy=0.895-+--H*r:sk:hetzner, 0.894-4--climb X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.3-gr1 X-Spam-Externals: DCC Brand "_DCCB_", Result _DCCR_ - Pyzor=_PYZOR_, RBL _RBL_ Received: from [192.168.1.244] (mue-88-130-95-174.dsl.tropolys.de [88.130.95.174]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hetzner.email-server.info (Postfix) with ESMTP id 7260439971 for ; Thu, 17 Aug 2006 11:21:03 +0200 (CEST) Message-ID: <44E4348D.5090109@mid.email-server.info> Date: Thu, 17 Aug 2006 11:19:09 +0200 From: Alexander Skwar User-Agent: Thunderbird 1.5.0.5 (X11/20060728) 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] How to set domainname References: <44E37755.5010800@gt.rr.com> <200608170931.05187.hans-gunther.borrmann@rz.uni-freiburg.de> <44E42983.9080401@mid.email-server.info> <200608171102.10495.hans-gunther.borrmann@rz.uni-freiburg.de> In-Reply-To: <200608171102.10495.hans-gunther.borrmann@rz.uni-freiburg.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 19c9e985-18a8-4b87-8653-bbb8cddcd91c X-Archives-Hash: b70552d846ac5d8d657d1fb7d06a0ded Hans-Gunther Borrmann schrieb: > On Thursday 17 August 2006 10:32, Alexander Skwar wrote: > >> Nope. resolv.conf doesn't have any influence on the hostname or >> domainname. It controls, how names/ips are resolved. >> >> If it would be as you say, what would be my domainname? >> >> alexander@knospe:~/tmp/sources/samba/samba-3.0.22/source/utils$ cat >> /etc/resolv.conf search bei.digitalprojects.com >> nameserver 192.168.1.1 >> >> > (man resolv.conf). >> >> NAME >> resolv.conf - resolver configuration file >> >> >> The "domain" setting doesn't do what you say. >> >> [...] >> domain Local domain name. >> Most queries for names within this domain can use short >> names relative to the local domain. If no domain entry is present, the >> domain is determined from the [...] >> >> See? It's for "queries for names". > > and from where does my machine get its domain name? It is only contained in > resolv.conf. Good question. But as I've shown, it's not necessary to set it in /etc/resolv.conf. Alexander Skwar -- Go climb a gravity well! -- gentoo-user@gentoo.org mailing list