Platinum Partner
server,python,devops,networking,dns,tips and tricks

Testing DNS Servers with Python - dns_compare.py

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 10.1.1.1
....X...X..done
Results:
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 {{ articles[0].authors[0].realName }}, DZone MVB. (source)

Opinions expressed by DZone contributors are their own.

{{ tag }}, {{tag}},

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

{{ parent.tldr }}

{{ parent.urlSource.name }}
{{ parent.authors[0].realName || parent.author}}

{{ parent.authors[0].tagline || parent.tagline }}

{{ parent.views }} ViewsClicks
Tweet

{{parent.nComments}}