From owner-freebsd-questions Wed Dec 1 1:50:33 1999 Delivered-To: freebsd-questions@freebsd.org Received: from smtp.hypostasis.com. (smtp.hypostasis.com [210.55.57.17]) by hub.freebsd.org (Postfix) with ESMTP id CB36114C43 for ; Wed, 1 Dec 1999 01:50:28 -0800 (PST) (envelope-from kit@hypostasis.com) Received: from amethyst.hypostasis.com (amethyst.hypostasis.com [192.168.2.2]) by smtp.hypostasis.com. (8.9.3/8.9.2) with ESMTP id WAA06988 for ; Wed, 1 Dec 1999 22:45:05 +1300 (NZDT) (envelope-from kit@amethyst.hypostasis.com) Received: (from kit@localhost) by amethyst.hypostasis.com (8.9.3/8.9.2) id WAA10634 for questions@freebsd.org; Wed, 1 Dec 1999 22:59:36 +1300 (NZDT) (envelope-from kit) Date: Wed, 1 Dec 1999 22:59:36 +1300 From: Kit To: questions@freebsd.org Subject: Internal vs External DNS (2 nameds) Message-ID: <19991201225936.B10261@amethyst.hypostasis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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