From owner-freebsd-questions@FreeBSD.ORG Thu Jun 26 01:26:22 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 2DB3B37B401 for ; Thu, 26 Jun 2003 01:26:22 -0700 (PDT) Received: from rwcrmhc12.attbi.com (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8446C43F3F for ; Thu, 26 Jun 2003 01:26:21 -0700 (PDT) (envelope-from freebsduser@attbi.com) Received: from attbi.com (12-225-141-88.client.attbi.com[12.225.141.88](misconfigured sender)) by attbi.com (rwcrmhc12) with SMTP id <2003062608262001400lpsqse>; Thu, 26 Jun 2003 08:26:21 +0000 Message-ID: <3EFAAE2C.1000509@attbi.com> Date: Thu, 26 Jun 2003 01:26:20 -0700 From: K Anderson User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: questions@freebsd.org References: <00c101c3353c$4ecbe100$0100a8c0@ibacsoft.dynu.com> <20030626080930.GA24416@kyblik.pieskovisko.sk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Two DNS servers with one IP address 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: Thu, 26 Jun 2003 08:26:22 -0000 Michal F. Hanula wrote: > On Tue, Jun 17, 2003 at 08:52:42PM -0500, Alfonso Romero wrote: > >>Is it possible to have two DNS servers with only one public IP >>address? I have a FreeBSD gateway connected to the Internet with a DSL >>modem, using natd to connect the other PCs on my LAN, and was >>wondering if I could have two DNS servers to register domain names. > > You could do some magic using port redirection based on whatever you > want (source IP?). I can't even imagine the point of it, but it could be > done. > m&f > I don't know what the poster's reason is for having two DNS servers but have a look and bind 9. Do the opposite. Have one DNS server act as two. With views you can have the outside world see one thing and the inside world see another. That's how I'm set up. One view is called external and when folks make a query to it it responds with what I've told it. But when an internal machine makes a request the DNS will respond differently. It all depends how you define the views. Way nifty and the systems are none the wiser. :) HTH