Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Dec 1999 21:37:42 +1030
From:      wincent <wincent@dingoblue.net.au>
To:        <freebsd-questions@FreeBSD.org>
Subject:   FW: Internal vs External DNS (2 nameds)
Message-ID:  <B46B45A5.1984%wincent@dingoblue.net.au>
In-Reply-To: <B46B3EA3.197B%wincent@dingoblue.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
on 1/12/99 8:29 PM, Kit at kit@hypostasis.com wrote:

> Hi
> I am wanting to run separte DNS for internal and external networks
> I have a gateway running 3.3-STABLE and bind 8.1.2
> I am considering running 2 copies of named on the one machine to
> listen on different interfaces and supply DNS info to differing
> groups of hosts, internal and external, so that the internal network
> uses the internal names and the rest of the world sees only the external
> names, and not any of the internal names.
> 
> To do this I think that I want to add
> if [ "X${named2_enable}" = X"YES" ]; then
> echo -n ' named2';           ${named_program-"named"} ${named2_flags}
> fi
> 
> to rc.network network_pass2
> and 
> named2_enable="YES"
> named2_flags="-c named_flags="-c /etc/namedb/named.int.conf -u bind -g bind"
> 
> to rc.conf
> 
> Does this seem reasonable or is there a better way to do it?

Hi Kit

I believe the best way to do it is using zones.... See:

http://www.dvl-software.com/freebsd/privatedns.htm

It's not a perfect document, but it's a start...

Cheers
Wincent



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B46B45A5.1984%wincent>