From owner-freebsd-questions@FreeBSD.ORG Mon Jun 2 18:07:30 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4ABFC37B401 for ; Mon, 2 Jun 2003 18:07:30 -0700 (PDT) Received: from sage-one.net (adsl-65-71-135-137.dsl.crchtx.swbell.net [65.71.135.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5CB8E43F85 for ; Mon, 2 Jun 2003 18:07:29 -0700 (PDT) (envelope-from jackstone@sage-one.net) Received: from sagea (adsl-65-68-247-73.dsl.crchtx.swbell.net [65.68.247.73]) by sage-one.net (8.12.6p2/8.12.6) with SMTP id h5317G1v015826; Mon, 2 Jun 2003 20:07:18 -0500 (CDT) (envelope-from jackstone@sage-one.net) Message-Id: <3.0.5.32.20030602200715.0135ab10@sage-one.net> X-Sender: jackstone@sage-one.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Mon, 02 Jun 2003 20:07:15 -0500 To: "Derrick Ryalls" , "'Alfonso Romero'" , "'freebsd-questions'" , "'Chuck Swiger'" From: "Jack L. Stone" In-Reply-To: <000901c32964$17425f40$0200a8c0@bartxp> References: <004b01c3295c$69458680$0100a8c0@ibac> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, hits=-2.5 required=4.5 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES version=2.54-sage_one.rules_v1 X-Spam-Checker-Version: SpamAssassin 2.54-sage_one.rules_v1 (1.174.2.17-2003-05-11-exp) Subject: RE: DNS and natd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jun 2003 01:07:30 -0000 At 05:07 PM 6.2.2003 -0700, Derrick Ryalls wrote: >> > 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 > 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 (LAN)..... Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net jackstone@sage-one.net