Date: Thu, 2 Dec 1999 12:36:50 +0200 From: d e a t h <charon@hades.hell.gr> To: Kit <kit@hypostasis.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Internal vs External DNS (2 nameds) Message-ID: <19991202123650.C5160@hades.hell.gr> In-Reply-To: <19991201225936.B10261@amethyst.hypostasis.com> References: <19991201225936.B10261@amethyst.hypostasis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Dec 01, 1999 at 10:59:36PM +1300, Kit 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
Good enough. Take care in the configuration files of the two named's
though. Since bind is in the habbit of binding port 53 on *all* the
interfaces that are up, you might want to tune their listen-on options
so that they don't try to bind the same interface/port combination.
Bye
--
Giorgos Keramidas, <keramida@ceid.upatras.gr>
"What we have to learn to do, we learn by doing." [Aristotle]
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?19991202123650.C5160>
