[net-dns-users] handling unsupported record types

Chris Buxton clists at buxtonfamily.us
Wed May 22 19:30:33 UTC 2013


I have a script that reads zones from files on disk and also via zone transfer. Currently, when reading in data, if the script encounters a record for which Net::DNS does not implement a record type class, the script dies. The immediate case looks like this:

WKS not implemented at /usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int/Net/DNS/RR.pm line 630.
new Net:NS::RR( ... ) at ./dnsdiff.pl line 300

Short of hacking Net::DNS::RR, how can I handle this without dying and without losing any records coming after the unknown record type in a zone transfer?

Regards,
Chris Buxton



More information about the net-dns-users mailing list