"Empty zones" and BIND 9.4

Adam Tkac atkac at redhat.com
Tue Jun 19 08:37:11 UTC 2007


Mark Andrews napsal(a):
>> For the loopback subnet reverse zone, if you want to create a PTR  
>> record for each possible IP, use a wildcard. So instead of this from  
>> Mark's example:
>>
>> 1.0.0 PTR localhost.
>>
>> use this:
>>
>> *     PTR localhost.
>>
>> Chris Buxton
>> Men & Mice
>>     
>
> 	Normally you only need "1.0.0 PTR localhost." as that
> 	is usually the only address in use.
>
> 	If you don't use it then you don't need a PTR.  If you do
> 	use it but forget the PTR then you want to stop the query
> 	leaking so that why the zone is 127.IN-ADDR.ARPA and not
> 	1.0.0.127.IN-ADDR.ARPA, 0.0.127.IN-ADDR.ARPA or 0.127.IN-ADDR.ARPA.
> 	NXDOMAIN will be returned if there is no PTR record.
>
> 	Additionally the PTR from the wildcard will be rejected by
> 	may applications / libraries as there is not a corresponding
> 	A record.
>
> 	I DO NOT recommend adding all the possible A records in this
> 	space.  It will only cause applications to break.
>
> 	Mark
>   
Yes, I also think loopback could be only 127.0.0.1 . But when rfc 3330 
says 127/8 could be loopback I've asked if anyone know nice solution for 
this problem :)

Adam



More information about the bind-users mailing list