Avoiding duplicate PTR records when using $GENERATE

Peter Laws plaws at ou.edu
Mon Nov 24 22:36:04 UTC 2008


Mark Andrews wrote:
> Mark Andrews writes:
>> In message <71D4B163E575894FA5B170F10E628EC5014D6549 at Deimos.internal.commarc.
>> co
>> .nz>, "Steve Brorens" writes:
>>> I've got range of 256 addresses, where I have valid PTRs for all
>>> addresses generated by:
>>>
>>>     $GENERATE 0-255 $ PTR   123-123.123-66-$.acme.co.nz.
>>>
>>> My problem is that there are a dozen or so addresses scattered through
>>> this range where I want to define specific PTR records like this:
>>>
>>>     203    PTR    ftp.acme.co.nz.
>>>     4      PTR    www.acme.co.nz.
>>>     105    PTR    smtp.acme.co.nz.
>>>
>>> However, this means that these addresses get two PTR records  -
>>> generally A Bad Thing, especially for mailservers.
>>>
>>> Is there a way to use $GENERATE to just "fill the gaps"?
>>       No.


Go look at your slave cache.  The dupes pop right out since they have a tab 
at the beginning (since first few fields are the same).  That's how I 
identified ours.

Well, most of ours.


-- 
Peter Laws / N5UWY
National Weather Center / Network Operations Center
University of Oklahoma Information Technology
plaws at ou.edu
-----------------------------------------------------------------------
Feedback? Contact my director, Craig Cochell, craigc at ou.edu. Thank you!



More information about the bind-users mailing list