BIND 8 forwarding question

Lemman, Paul paul_lemman at
Sat Oct 6 00:12:53 UTC 2001

	I'm setting up a forwarder in BIND 8.2.4 that I don't want to be able to answer questions about internal hosts by asking our external view nameservers.  I tried the suggestion in the DNS and BIND book to set up a stub zone with an empty forwarders list but the forwarder still queries our external view servers.  I tried adding a "forward only" directive to the zone declaration but that didn't seem to help.  Neither did declaring the zone of type forwarder and giving it an empty forwarders list in the zone declaration.  Can anyone see where I'm going wrong?  



options {
	directory "/cache";
	pid-file "/var/run/";
	// Created by SIGINT or ndc dumpdb
	dump-file "/var/tmp/dump.db";
	// Created by SIGILL or ndc stats
	statistics-file "/var/tmp/stats";
	statistics-interval 60;
	listen-on {; };
	recursion yes;
	fetch-glue yes;
	query-source address port 53;
	version "Surely you're joking, Mr. Feynman.";
	allow-query { localhost; E2; internal-roots; mentor-nets; };
	use-id-pool yes;

zone "." {
	type hint;
	file "db.cache";

zone "" {
	type stub;
	masters {;;;; };
	file "";
	forward only;
	forwarders {};

paul lemman                                       V: 503.685.1554
IT Computer Services                 
Mentor Graphics Corporation

More information about the bind-users mailing list