Over a million developers have joined DZone.
Platinum Partner

Testing DNS Servers with Python - dns_compare.py

· DevOps Zone

The DevOps Zone is brought to you in partnership with Librato.  Check out Librato's whitepaper on Selecting a Cloud Monitoring Solution.

Sometimes it might be nice to be able to test a DNS server’s output, such as with a continuous monitoring system, or as a validation tool when migrating to a different DNS server (or service.)

$ dns_compare.py -z example.com --file example.com.zone --server
Matches:      9
Mis-matches:  2

To see more examples or download the code, goto: https://github.com/joemiller/dns_compare

Posted Wednesday, December 22nd, 2010 under dns, testing.

Published at DZone with permission of Joe Miller , DZone MVB .

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}