Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Jun 2003 16:24:24 -0400
From:      Chuck Swiger <cswiger@mac.com>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: DNS and natd
Message-ID:  <3EDBB278.9040302@mac.com>
In-Reply-To: <003a01c32942$6a081200$0100a8c0@ibac>
References:  <003a01c32942$6a081200$0100a8c0@ibac>

next in thread | previous in thread | raw e-mail | index | archive | help
Alfonso Romero wrote:
> Iīm using natd on a FreeBSD 4.8 box as a gateway, so my internal LAN can
> access Internet. Iīve configured a web server, but the local LAN machines
> canīt access the server by itīs domain name. If I setup my FreeBSD gateway to
> also act as a DNS server, are my local LAN machines going to be able to
> access my web server with www.ibacsoft.dynu.com, instead of 192.168.0.2?

10-bjork# nslookup www.ibacsoft.dynu.com
Name:    www.ibacsoft.dynu.com
Address:  200.67.41.134

What happens when you do a "traceroute 200.67.41.134" from an internal 
machine...does it get to the web server as you expect?

If the webserver is the same system as the NAT box, you'll have to add that IP 
to the natd flags and maybe apache's config file, I believe...

-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EDBB278.9040302>