how to create a private "test." zone?

Rui Lopes rgl at ruilopes.com
Tue Mar 3 08:16:56 UTC 2009


Mark Andrews wrote:
> Mark Andrews writes:
>   
>> In message <49AC5D59.1010707 at ruilopes.com>, Rui Lopes writes:
>>     
>>> Hi,
>>>
>>> Ben Bridges wrote:
>>>       
>>> [...]
>>>> You could try creating example.test as a forward zone in named.conf on
>>>> your sun server and specifying plesk as the forwarder for that zone.
>>>>         
>>> Indeed, adding a forward zone like bellow works!  but why does it work?
>>> or why is it needed?
>>>
>>> zone "example.test" {
>>>         type forward;
>>> //      forward only;
>>> //      forwarders { 192.168.2.10; };
>>> };
>>>
>>> Note that I only needed to include the "type forward" line, the other
>>> lines do not seem to be needed.  I'm I missing something?  they aren't
>>> really needed?  By reading the bind manual it seems we have to include them
>>>       
>> .
>>     
>> 	You turned off forwarding for that namespace.
>> 	It's the equivalent of:
>>
>> 		zone "example.test" {
>> 			type forward;
>> 			forwarders { /* empty */ };
>> 		};
>>
>>
>> 	You could have also added it to the test zones config.
>>
>> 		zone "test" {
>> 			type master;  // or slave
>>     
> 				      // or stub
>   
>> 			...
>> 			forwarders { /* empty */ };
>> 		};
>>
>> 	Mark
>>  
Thanks!

Why isn't bind just following the "example.test. NS plesk.test." RR that
is inside the "test." zone without removing the forwarders?

Best regards,
Rui Lopes



More information about the bind-users mailing list