Confusing DNS issue behind FreeBSD NAT

Charles Swiger cswiger at mac.com
Wed Jul 6 18:04:47 GMT 2005


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 at 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 at 10.4.10.75:/usr/obj/usr/src/sys/WEB- 
> NOIPV6  i386
> Wed Jul 06  12:30:28
> root at 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



More information about the freebsd-stable mailing list