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 1GDdtj-0000k5-Ax for garchives@archives.gentoo.org; Thu, 17 Aug 2006 09:10:43 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k7H96ZtV022564; Thu, 17 Aug 2006 09:06:35 GMT Received: from mailgateway3.uni-freiburg.de (mailgateway3.uni-freiburg.de [132.230.2.213]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k7H92Bi9012408 for ; Thu, 17 Aug 2006 09:02:11 GMT Received: from rz.uni-freiburg.de ([132.230.2.42] helo=uni-freiburg.de) port 34526 by mailgateway3.uni-freiburg.de with esmtp (Exim 4.60 #1 built 13-Jul-2006 14:56:20 running on Gentoo) id 1GDdlT-0000gm-BL; Thu, 17 Aug 2006 11:02:11 +0200 Received: from urmel.ruf.uni-freiburg.de (account hans-gunther.borrmann@rz.uni-freiburg.de [132.230.6.72] verified) by uni-freiburg.de (CommuniGate Pro SMTP 5.0.10) with ESMTPSA id 74279175; Thu, 17 Aug 2006 11:02:12 +0200 From: Hans-Gunther Borrmann To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] How to set domainname Date: Thu, 17 Aug 2006 11:02:10 +0200 User-Agent: KMail/1.9.1 Cc: Alexander Skwar References: <44E37755.5010800@gt.rr.com> <200608170931.05187.hans-gunther.borrmann@rz.uni-freiburg.de> <44E42983.9080401@mid.email-server.info> In-Reply-To: <44E42983.9080401@mid.email-server.info> 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="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200608171102.10495.hans-gunther.borrmann@rz.uni-freiburg.de> X-Archives-Salt: ff2cd1ba-a3da-4ae9-b74b-248c405812a5 X-Archives-Hash: c9b614b48ce9ff5f86b762bb0d370153 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. urmel ~ # hostname urmel urmel ~ # dnsdomainname ruf.uni-freiburg.de Gunther -- ________________________________________________________________ Hans-Gunther Borrmann Rechenzentrum der Universitaet Freiburg Hermann-Herder-Str. 10, D79104 FREIBURG Tel.: +49 761/203-4652 Fax: +49 761/203-4643 -- gentoo-user@gentoo.org mailing list