try to send iterative query to forwarder

Mark_Andrews at isc.org Mark_Andrews at isc.org
Thu Oct 2 23:18:00 UTC 2003


> Hi,
>    This is for an internal network, not for internet, using Bind 9.2.1.
>    I got such kind of requirement:
> 	1. Different "root" servers for different domains;
> 	2. Root servers prefer to receive iterative queries rather than recursi
> ve.
> 
>    The solution I am trying is to configure forward zones for each of those d
> omains and specify forwarders for them respectively. for example in named.con
> f:
> 
> 	...
> 	zone "aaa.bbb.zzz" in {
> 	        type forward;
> 	        forwarders {1.1.1.1; 1.1.1.2; };
> 	        forward first;
> 	};
> 
> 	zone "ccc.ddd.zzz" in {
> 	        type forward;
> 	        forwarders {2.1.1.1; 2.1.1.2; };
> 	        forward first;
> 	};
>             ...
> 
>     It works fine to direct queries to the right root servers. But all querie
> s sent to forwarders are recursive, which is not what I want.
>     Is it possible to force the DNS to send only iterative queries to forward
> ers? Or, is there any other better way to fulfill the two requirements?
> 
>     Thanks so much.
> 
> Regards,
> Chris
> 	
> 	
> 

	Look at stub zones.

	zone "ccc.ddd.zzz" in {
		type stub;
		masters { .... };
		file "ccc.ddd.zzz.stub";
		forwarders { /* empty */ };
	};
		
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at isc.org


More information about the bind-users mailing list