From owner-freebsd-questions@FreeBSD.ORG Mon Jun 2 17:05:23 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 8AC6E37B401 for ; Mon, 2 Jun 2003 17:05:23 -0700 (PDT) Received: from 12-229-238-38.client.attbi.com (evrtwa1-ar17-4-47-114-001.evrtwa1.dsl-verizon.net [4.47.114.1]) by mx1.FreeBSD.org (Postfix) with SMTP id A74AB43F75 for ; Mon, 2 Jun 2003 17:05:20 -0700 (PDT) (envelope-from ryallsd@datasphereweb.com) Received: (qmail 94807 invoked from network); 3 Jun 2003 00:05:18 -0000 Received: from unknown (HELO bartxp) (192.168.0.2) by 192.168.0.1 with SMTP; 3 Jun 2003 00:05:18 -0000 From: "Derrick Ryalls" To: "'Alfonso Romero'" , "'freebsd-questions'" , "'Chuck Swiger'" Date: Mon, 2 Jun 2003 17:07:10 -0700 Message-ID: <000901c32964$17425f40$0200a8c0@bartxp> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 In-Reply-To: <004b01c3295c$69458680$0100a8c0@ibac> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 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 00:05:23 -0000 > > 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