Skip Menu |
 

This queue is for tickets about the Net-DNS-ZoneFile-Fast CPAN distribution.

Report information
The Basics
Id: 34445
Status: resolved
Priority: 0/
Queue: Net-DNS-ZoneFile-Fast

People
Owner: Nobody in particular
Requestors: leo [...] apcare.net
Cc:
AdminCc:

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



Subject: Net::DNS::ZoneFile::Fast bug: RR's do not accept the * wildcard
Date: Wed, 26 Mar 2008 16:05:20 +0100
To: <bug-Net-DNS [...] rt.cpan.org>
From: "Leo Noordergraaf" <leo [...] apcare.net>
Download (untitled) / with headers
text/plain 553b
When reading the zonefile for a domain with wildcard resource records, Net::DNS reports an error in the parse subroutine on line 149 of Net/DNS/ZoneFile/Fast.pm. This is due to the $pat_name pattern defined on line 55 of Net/DNS/ZoneFile/Fast.pm. In this pattern there is no match for the wildcard. When line 55: my $pat_name = qr{[-\w\$\d\/*]+(?:\.[-\w\$\d\/]+)*}; is replaced by: my $pat_name = qr{[-\*\w\$\d\/*]+(?:\.[-\*\w\$\d\/]+)*}; Net::DNS is capable of parsing zone files containing wildcard resource records. with regards, Leo Noordergraaf
Download (untitled) / with headers
text/plain 215b
Can you provide an example of a resource line that isn't getting parsed correctly? Everything I throw at it seems to be parsed just fine. Regardless, I've applied your suggestion as it looks correct to add anyway.
Download (untitled) / with headers
text/plain 314b
On Mon Sep 07 17:23:17 2009, HARDAKER wrote: Show quoted text
> Can you provide an example of a resource line that isn't getting parsed > correctly? Everything I throw at it seems to be parsed just fine. > > Regardless, I've applied your suggestion as it looks correct to add
anyway. I'm assuming this is resolved at this point.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.