Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Dec 1999 22:59:36 +1300
From:      Kit <kit@hypostasis.com>
To:        questions@freebsd.org
Subject:   Internal vs External DNS (2 nameds)
Message-ID:  <19991201225936.B10261@amethyst.hypostasis.com>

next in thread | raw e-mail | index | archive | help
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?

--kit



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?19991201225936.B10261>