Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Validation of the data fields of a DNS zone file

by dwm042 (Priest)
on Sep 20, 2010 at 16:17 UTC ( [id://860871] : note . print w/replies, xml ) Need Help??


in reply to Re: Validation of the data fields of a DNS zone file
in thread Validation of the data fields of a DNS zone file

Problem with Net::DNS is that it is looking over the Internet at a functioning DNS server. I'm looking at tools to parse the raw BIND zone files and look for errors that would prevent a server from starting.

Further, certain entries are perfectly allowed on a working server, but can indicate an oversight. A record like this:

@ IN MX 10 mail.example.com

This is a MX record pointing to mail.example.com.example.com. Perfectly legit to an external source, but not really pointing where the author wanted. That's the kind of thing I'd like to generate a warning on, on the admin side of things.

I suspect what I'm asking for is a very large library of REs that might have something useful in terms of DNS.

David.