Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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

by gman (Friar)
on Sep 20, 2010 at 15:03 UTC ( [id://860857]=note: print w/replies, xml ) Need Help??


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

Take a look at Net::DNS and it's affiliated modules;

http://search.cpan.org/dist/Net-DNS/
  • Comment on Re: Validation of the data fields of a DNS zone file

Replies are listed 'Best First'.
Re^2: Validation of the data fields of a DNS zone file
by dwm042 (Priest) on Sep 20, 2010 at 16:17 UTC

    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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://860857]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-04-16 19:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found