Skip Menu |

This queue is for tickets about the DNS-ZoneParse CPAN distribution.

Report information
The Basics
Id: 7546
Status: resolved
Priority: 0/
Queue: DNS-ZoneParse

People
Owner: Nobody in particular
Requestors: rscheff [...] chello.at
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.92
Fixed in: (no value)



Subject: parsing error with multiple ptr entries
Hi! I'm trying to write a script to automatically create dns entries from router configs. However, when I'm trying to parse a Microsoft DNS file with multiple PTR entries like this 253.255.132 PTR a.b.c.local. PTR d.b.c.local. the second PTR line will generate a parsing error. Just downloaded DNS::ZoneParse 0.93 and installed it on my Linux Box (perl 5.6.1). Seems to me that the code for matching PTR entries is broken, but I don't see any difference to the (working) A and TXT matching code (where omitted first names work properly). Richard
Fixed in 0.94 which is on its way to CPAN. My initial feeling was that multiple PTRs was a bad idea, but they don't appear to be forbidden by the standards. Also, DNS::ZoneParse is a basic non-validating parser which would already have allowed multiple PTR records if the addresses were explicitly defined. Thanks Simon