[net-dns-users] Parsing MS DNS zone files

Chris Buxton clists at buxtonfamily.us
Mon Oct 27 04:02:01 UTC 2014


I'm trying to parse MS DNS zone files using Net::DNS::Zonefile, but it's having issues with two non-standard Microsoft additions to the format:

1. Age values. For example:

_kerberos._tcp.direktion._sites.dc._msdcs [AGE:3627351] 600     SRV     0 100 88        atzt0009.at.zurich.com.

2. WINS records. For example:

@                       0       WINS    L2 C900 (

I don't actually need these data points. I just need to have Net::DNS::ZoneFile::read not fail (return null) when encountering them. I have a lot of this data, such that it would be painful to rely on manual remediation. Does anyone have any ideas?

Chris Buxton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nlnetlabs.nl/pipermail/net-dns-users/attachments/20141026/d16ae9ed/attachment.htm>

More information about the net-dns-users mailing list