Subject: | Problem with parsing DS records in Net::DNS::ZoneFile::Fast |
We use Net::DNS::ZoneFile::Fast in a perl program which generates zone
files, we recently started accepting DS records from our members, our
program writes entries for DS records like this:
176.195.in-addr.arpa. DS 11790 5 1
9c5bf337879c7ee4c6c4ff893ff14e231e6aca6a
Notice this is missing the IN class.
When our program uses Net::DNS::ZoneFile::Fast to parse this it
reports an error:
ERROR: read_zonefile: caught die from zonefile
loading: /export/zupd/data/out/zones/RIPE/195.in-addr.arpa:
unrecognized type, line 55907 ...propagated
at /usr/local/lib/perl5/site_perl/5.8.0/Net/DNS/ZoneFile/Fast.pm line
137, <GEN368> line 55907.
If the class is states IE
176.195.in-addr.arpa. IN DS 11790 5 1
9c5bf337879c7ee4c6c4ff893ff14e231e6aca6a
Then the error is not reported.
As far as I know if class is not stated IN should be assumed.
So not a critical issue but an issue that maybe needs addressing.
We are running perl 5.80 and Linux 2.4 Kernel