From owner-freebsd-questions@FreeBSD.ORG Sat Nov 26 17:18:07 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F0E1106566C for ; Sat, 26 Nov 2011 17:18:07 +0000 (UTC) (envelope-from gmx@ross.cx) Received: from www81.your-server.de (www81.your-server.de [213.133.104.81]) by mx1.freebsd.org (Postfix) with ESMTP id 2FCC58FC1C for ; Sat, 26 Nov 2011 17:18:06 +0000 (UTC) Received: from [188.108.235.211] (helo=michael-think) by www81.your-server.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1RULt7-00012R-Bz; Sat, 26 Nov 2011 18:18:05 +0100 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: freebsd-questions@freebsd.org, "Moritz Wilhelmy" References: <20111126154422.GR16096@barfooze.de> Date: Sat, 26 Nov 2011 18:18:00 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Michael Ross" Message-ID: In-Reply-To: <20111126154422.GR16096@barfooze.de> User-Agent: Opera Mail/11.52 (Win32) X-Authenticated-Sender: gmx@ross.cx X-Virus-Scanned: Clear (ClamAV 0.97.3/13991/Sat Nov 26 00:07:28 2011) Cc: Subject: Re: Disable automatic "Fallback" IP on 9.0-RC2 when a hostname cannot be resolved X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Nov 2011 17:18:07 -0000 Am 26.11.2011, 16:44 Uhr, schrieb Moritz Wilhelmy : > Hello, > > my 9.0-RC2 installation on furnace.wzff.de keeps connecting to wzff.de > if a hostname cannot be resolved. E.g. telnet foobar 25 connects me to > the SMTP server on wzff.de, same thing for another jail that uses a > subdomain of barfooze.de and tries to connect to barfooze.de if it can't > find a suitable DNS or /etc/hosts record. > > I dislike when computers try to be smart like this, and I can't really > think how this is useful, and it also doesn't happen on another machine > that has a subdomain of something set as hostname and is running 8.2, so > I want to disable it. Can anyone give me a hint how to do it? Add e. g. ``search local'' to /etc/resolv.conf. The behaviour is explained in man resolv.conf, "search". Or disable wildcard entries in your dns server config. Regards, Michael