Confusing DNS issue behind FreeBSD NAT
Greg Barniskis
nalists at scls.lib.wi.us
Wed Jul 6 18:15:53 GMT 2005
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 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
...
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)
<gregb at scls.lib.wi.us>, (608) 266-6348
More information about the freebsd-stable
mailing list