Subject: | PrintZone() does not print PTR records |
debian Bug#147828 http://bugs.debian.org/147828
----- Forwarded message from Gergely Nagy <algernon@debian.org> -----
Date: Wed, 22 May 2002 23:48:53 +0200
From: Gergely Nagy <algernon@debian.org>
To: submit@bugs.debian.org
Subject: Bug#147828: libdns-zoneparse-perl: PrintZone() does not print PTR records
Package: libdns-zoneparse-perl
Version: 0.8-1
Severity: important
Recently I was working on a web-based zone editor script, and used
DNS::ZoneParse to do the dirty work. However, I noticed that PTR records
are not printed by DNS::ZoneParse->PrintZone().
[... snip ...]
Anyway, simple patch to fix the problem is attached below. I'm using
it for some time now, and it works fine.
Cheers,
--
Gergely Nagy \ mhp/|8]
--- ZoneParse.pm.orig Wed May 22 23:41:53 2002
+++ ZoneParse.pm Wed May 22 23:43:16 2002
@@ -80,7 +80,7 @@
sub PrintZone {
my $self = shift;
- my @quick_classes = qw(A CNAME);
+ my @quick_classes = qw(A CNAME PTR);
my $temp_zone_file = "";
$temp_zone_file .= <<ZONEHEADER;
;
Show quoted text
----- End forwarded message -----