Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Nov 1998 11:01:32 -0600 (CST)
From:      Mike Jenkins <mjenkins@carp.gbr.epa.gov>
To:        john@isi.co.jp
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: BIND 8 ?
Message-ID:  <199811181701.LAA18886@carp.gbr.epa.gov>
In-Reply-To: <98Nov18.185634jst.21897@ns.isi.co.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Wed, 18 Nov 1998 18:50:10 +0900
> From: john cooper <john@isi.co.jp>
>
> Ok, I'm sold on the dual DNS bind 8 approach.  Unfortunately
> I can't seem to find any comprehensive documentation on the
> [apparent] new configuration file formats in general, nor on
> how to make a single server feed solely off one network interface.
>
> I have rummaged through www.isc.org without finding what I need.
>
> Any pointers greatly appreciated.

You're right.  I searched Yahoo, Alta Vista, etc. and didn't find much.
I think two nameservers on dual-homed bastion host works something like:

	/usr/sbin/named /etc/namedb/named.external.conf
	/usr/sbin/named /etc/namedb/named.internal.conf

	//
	// External nameserver config file
	//
	options {
		pid-file "/var/run/named.external.pid";
		listen-on {
			<EXTERNAL_IP>;
		};
		// other options
	};

	zone "my.domain" {
		type master;
		file "external.zone";
	};

	//
	// Internal nameserver config file
	//
	options {
		pid-file "/var/run/named.internal.pid";
		listen-on {
			<INTERNAL_IP>;
		};
		forwarders {
			<EXTERNAL_IP>;
		};
		forward only;
	};

	zone "my.domain" {
		type master;
		file "internal.zone";
	};

	# /etc/resolv.conf
	nameserver <INTERNAL_IP>

Mike

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811181701.LAA18886>