Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jul 2005 14:04:42 -0400
From:      Charles Swiger <cswiger@mac.com>
To:        Gerald <gcoon@inch.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Confusing DNS issue behind FreeBSD NAT
Message-ID:  <F2C8FE1B-D55A-4B69-8DE4-C50CB48EC4C4@mac.com>
In-Reply-To: <20050706133130.H86744@kod.inch.com>
References:  <20050706133130.H86744@kod.inch.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jul 6, 2005, at 1:54 PM, Gerald wrote:
> 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

"What you are missing" is the right filename.  :-)
That should be /etc/resolv.conf, not /etc/resolve.conf...

-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F2C8FE1B-D55A-4B69-8DE4-C50CB48EC4C4>