From owner-freebsd-net@FreeBSD.ORG Fri Feb 18 13:23:54 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A7DCF16A4CE for ; Fri, 18 Feb 2005 13:23:54 +0000 (GMT) Received: from tower.berklix.org (bsd.bsn.com [194.221.32.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id C998543D53 for ; Fri, 18 Feb 2005 13:23:53 +0000 (GMT) (envelope-from jhs@berklix.org) Received: from js.berklix.net (p549A3FB0.dip.t-dialin.net [84.154.63.176]) (authenticated bits=0) by tower.berklix.org (8.12.9p2/8.12.9) with ESMTP id j1IDNpYS085179; Fri, 18 Feb 2005 14:23:52 +0100 (CET) (envelope-from jhs@tower.berklix.net) Received: from fire.jhs.private (fire.jhs.private [192.168.91.41]) by js.berklix.net (8.12.11/8.12.11) with ESMTP id j1IDOlYo002253; Fri, 18 Feb 2005 14:24:48 +0100 (CET) (envelope-from jhs@tower.berklix.net) Received: from fire.jhs.private (localhost [127.0.0.1]) by fire.jhs.private (8.13.1/8.13.1) with ESMTP id j1IDOlE0008187; Fri, 18 Feb 2005 14:24:47 +0100 (CET) (envelope-from jhs@fire.jhs.private) Message-Id: <200502181324.j1IDOlE0008187@fire.jhs.private> To: "Matthew D. Fuller" In-Reply-To: Message from "Matthew D. Fuller" <20050218120316.GK79745@over-yonder.net> Date: Fri, 18 Feb 2005 14:24:47 +0100 From: "Julian H. Stacey" cc: freebsd-net@freebsd.org Subject: Re: nslookup problem on FreeBSD-5.3: problem with non FQN domain X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Feb 2005 13:23:54 -0000 "Matthew D. Fuller" wrote: > On Fri, Feb 18, 2005 at 01:00:33PM +0100 I heard the voice of > Julian H. Stacey, and lo! it spake thus: > > > > Oh, OK. So I removed every line with a # & all blank lines, leaving just > > --- > > nameserver 127.0.0.1 > > nameserver 194.221.32.6 > > nameserver 194.221.87.2 > > --- > > It didnt help. > > Nonono; the other thing you do with commented lines :) Yes, well, while in doubt testing, threw out all un-necessary complication. > You need the "domain berklix.org" (or a similar "search" line) for it > to guess a domain for non-FQDN lookups. I've not needed that till now on any of the 3 servers (since I changed my hostnames from *.bsn.com to *.berklix.org a long time back, before then I needed that admittedly). It's optional now. > That'll tell it to check > "flat.berklix.org" if it can't find "flat" (or the other order; I can > never remember); otherwise how would it know what to try? By default from the domain name part returned by `hostname` per man resolv.conf under domain & search I was wondering if it might be a reverse lookup problem, as my IP is 194.221.32.28, & that (via nslookup) returns bim.bsn.com but that can't be the problem, else I'd be seeing same problem on another of my machines: tower.berklix.org = 194.221.32.7 = bsd.bsn.com However, I was going to experiment by adding back domain & search in resolv.conf, but unfortunately I now can't reproduce the problem, so can't tell if adding them back would clear the problem that's now gone ! Aargh ! - Julian Stacey Net & Sys Eng Consultant, Munich http://berklix.com Mail in Ascii (Html=Spam). Ihr Rauch = mein allergischer Kopfschmerz.