From owner-freebsd-stable@FreeBSD.ORG Wed Jul 6 18:15:53 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 45B2F16A41F for ; Wed, 6 Jul 2005 18:15:53 +0000 (GMT) (envelope-from nalists@scls.lib.wi.us) Received: from mail.scls.lib.wi.us (mail.scls.lib.wi.us [198.150.40.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id C894443D48 for ; Wed, 6 Jul 2005 18:15:52 +0000 (GMT) (envelope-from nalists@scls.lib.wi.us) Received: from [172.26.2.238] ([172.26.2.238]) by mail.scls.lib.wi.us (8.12.9p2/8.12.9) with ESMTP id j66IFqG1084034; Wed, 6 Jul 2005 13:15:52 -0500 (CDT) (envelope-from nalists@scls.lib.wi.us) Message-ID: <42CC1F3D.6070901@scls.lib.wi.us> Date: Wed, 06 Jul 2005 13:13:17 -0500 From: Greg Barniskis User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gerald References: <20050706133130.H86744@kod.inch.com> In-Reply-To: <20050706133130.H86744@kod.inch.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: Confusing DNS issue behind FreeBSD NAT X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jul 2005 18:15:53 -0000 Gerald wrote: > Summary: 2 Freebsd -stable machines. 1 is NAT/Gateway for the other... > These are from the machine behind the nat/gateway. Notice without > specifying what server to query with dig, it ignores /etc/resolv.conf > and queries localhost. What am I missing? (digs are trimmed to practical > information for brevity.) > > Wed Jul 06 12:30:23 > root@10:( /usr/src/) $ uname -a > FreeBSD 10.4.10.75 5.4-STABLE FreeBSD 5.4-STABLE #1: Thu Jun 23 10:59:58 > CDT 2005 root@10.4.10.75:/usr/obj/usr/src/sys/WEB-NOIPV6 i386 > Wed Jul 06 12:30:28 > root@10:( /usr/src/) $ cat /etc/resolve.conf nameserver 10.4.10.1 > nameserver 24.153.158.62 ... Just to be sure... your problem box has a proper /etc/resolv.conf, or has it instead a *resolve.conf* as shown in your test sequence above? Of course, a resolve.conf file would rightly be ignored. If the typo is only in your email and not really on the box, then I can only report that I see no such problems on a comparable setup (-STABLE client behind a -STABLE NAT box, both updated with src & ports circa July 2). -- Greg Barniskis, Computer Systems Integrator South Central Library System (SCLS) Library Interchange Network (LINK) , (608) 266-6348