Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: andyb [...] the-space.net
Cc:
AdminCc:

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



Subject: Almost what I need...
Any chance of getting this module smart enough to handle $ORIGIN directives within the zone files? For example, the zone file starts with a "$ORIGIN domain.com", later in the zone file, there's a directive "$ORIGIN sub.doamin.com" and a set of A records under that subdomain. Right now I get the following error messages: Unparseable line $ORIGIN sub.domain.com. at ./test.pl line 5 It reads all the A records properly, but incorrectly puts everything in "<host>.domain.com". Ideally, I'd like it to spit the A records out as "<host>.sub IN A <IP Address>". (Assuming and/or specifying the "domain.com" origin.) My problem is that I'm trying to clean up a zone transfered from another server. It'd also be nice if there were options to sort output...
$ORIGIN support was added in 1.0 but I forgot to update this bug. Sorry!