Two DNS servers with one IP address

Alfonso Romero ibac at
Thu Jun 26 10:22:44 PDT 2003

Thanks for your reply. The reason I wanted to have two DNS servers is
because I want to register several domains and don´t want to depend on an
external DNS service, but I found out the two DNS servers required by
Internic must be physically separated also, so I´ll have to ask someone else
to host my secondary DNS server, or stick with the available DNS options. I
just wondered if it could be possible to have two DNS servers inside a LAN,
behind a FreeBSD box with NAT.


Alfonso Romero
----- Original Message -----
From: "K Anderson" <freebsduser at>
To: <questions at>
Sent: Thursday, June 26, 2003 3:26 AM
Subject: Re: Two DNS servers with one IP address

> 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. :)
> _______________________________________________
> freebsd-questions at mailing list
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at"

More information about the freebsd-questions mailing list