Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jun 2003 17:07:10 -0700
From:      "Derrick Ryalls" <ryallsd@datasphereweb.com>
To:        "'Alfonso Romero'" <ibac@prodigy.net.mx>, "'freebsd-questions'" <freebsd-questions@freebsd.org>, "'Chuck Swiger'" <cswiger@mac.com>
Subject:   RE: DNS and natd
Message-ID:  <000901c32964$17425f40$0200a8c0@bartxp>
In-Reply-To: <004b01c3295c$69458680$0100a8c0@ibac>

next in thread | previous in thread | raw e-mail | index | archive | help
> > Alfonso Romero wrote:
> > > I=B4m using natd on a FreeBSD 4.8 box as a gateway, so my=20
> internal LAN=20
> > > can access Internet. I=B4ve configured a web server, but=20
> the local LAN
> machines
> > > can=B4t access the server by it=B4s domain name. If I setup my =
FreeBSD
> gateway to
> > > also act as a DNS server, are my local LAN machines going=20
> to be able=20
> > > to access my web server with www.ibacsoft.dynu.com, instead of=20
> > > 192.168.0.2?
> >
> > 10-bjork# nslookup www.ibacsoft.dynu.com
> > Name:    www.ibacsoft.dynu.com
> > Address:  200.67.41.134
> >

I believe you would need to set up a DNS server and configure it to give
different results depending on the requesting ip.
For bind, I think the search term is "views".  There was a good
description of why this is so a while back, but I have=20
long since deleted it.  I don't think it will be too hard to set up, but
I haven't tried myself yet.  Hope this helps.

-Derrick




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000901c32964$17425f40$0200a8c0>