From owner-freebsd-questions@FreeBSD.ORG Mon Dec 12 14:47:11 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 09DFF16A41F for ; Mon, 12 Dec 2005 14:47:11 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail8.sea5.speakeasy.net (mail8.sea5.speakeasy.net [69.17.117.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4384243DAA for ; Mon, 12 Dec 2005 14:46:45 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 311 invoked from network); 12 Dec 2005 14:46:40 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail8.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 12 Dec 2005 14:46:40 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 483852841D; Mon, 12 Dec 2005 09:46:39 -0500 (EST) Sender: lowell@be-well.ilk.org To: ruben@bloemgarten.demon.nl References: <20051210161821.4D55A43D8A@mx1.FreeBSD.org> From: Lowell Gilbert Date: 12 Dec 2005 09:46:39 -0500 In-Reply-To: <20051210161821.4D55A43D8A@mx1.FreeBSD.org> Message-ID: <44irtu74q8.fsf@be-well.ilk.org> Lines: 80 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: resolve appends domain section of hostname to non-existent domains X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Dec 2005 14:47:11 -0000 "Ruben Bloemgarten" writes: > Hi all, > > > > Could anyone let me know what's misconfigured here: > > > > When I ping from say server2 # ping jkhdsfkhdsafhjsahfdhksa.com I get the > following reply : > > > > PING jkhdsfkhdsafhjsahfdhksa.com.mydomain2.com (ip.of.server.1): 56 data > bytes > > > > 64 bytes from ip.of.server.1: icmp_seq=0 ttl=64 time=0.594 ms > > 64 bytes from ip.of.server.1: icmp_seq=1 ttl=64 time=0.427 ms > > > > The same happens from server1; it appends it's domain name to the incorrect > domain > > > > # ping jkhdsfkhdsafhjsahfdhksa.com > > > > PING jkhdsfkhdsafhjsahfdhksa.com.mydomain1.com (ip.of.server.1): 56 data > bytes > > > > 64 bytes from ip.of.server.1: icmp_seq=0 ttl=64 time=0.594 ms > > 64 bytes from ip.of.server.1: icmp_seq=1 ttl=64 time=0.427 ms > > > > > > Server2 is running multiple jails behind ipf/ipnat on 5.4-Release. > > Server1 is not running jails or ipf/nat. on 5.2.1-Current > > > > Server1 responds on both systems, which are in the same subnet at the same > colo. > > > > A dig from both systems does reply correctly, stating that > jkhdsfkhdsafhjsahfdhksa.com does not exist. Which leads me to feel that it > would most probably be hosts file related. As the hosts file on both systems > are not doing anything weird i.e.: > > Server2: ip.natted.lan server2 server2.mydomain2.com server2.mydomain2.com. > > Server1: ip.static.wan server1 server1.mydomain1.com server2.mydomain2.com. > > > > Although, as dns has already taken place (on existing domains it does > resolve correctly), it would seem that something is happening after > hosts->dns-> (not using nis). > > > > > Isn't this just the search parameter for resolv.conf(5)?