DNS and natd

Alfonso Romero ibac at prodigy.net.mx
Mon Jun 2 18:49:59 PDT 2003

Thanks for your reply. I found the "6.1 Creating a mini-DNS system" document
from the Pedantic PPP Primer

Do you think it fits my needs?

----- Original Message -----
From: "Jack L. Stone" <jackstone at sage-one.net>
To: "Derrick Ryalls" <ryallsd at datasphereweb.com>; "'Alfonso Romero'"
<ibac at prodigy.net.mx>; "'freebsd-questions'"
<freebsd-questions at freebsd.org>; "'Chuck Swiger'" <cswiger at mac.com>
Sent: Monday, June 02, 2003 8:07 PM
Subject: RE: DNS and natd

At 05:07 PM 6.2.2003 -0700, Derrick Ryalls wrote:
>> > 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
>> > >
>> >
>> > 10-bjork# nslookup www.ibacsoft.dynu.com
>> > Name:    www.ibacsoft.dynu.com
>> > Address:
>> >
>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
>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.

Yes, it is an internal DNS setup and I believe "views" requires BIND9. With
BIND8+, you need two DNS setups: 1 for external and 1 for internal

Best regards,
Jack L. Stone,

SageOne Net
jackstone at sage-one.net

More information about the freebsd-questions mailing list