Over a million developers have joined DZone.
Gold Partner

Testing DNS Servers with Python - dns_compare.py

· DevOps Zone

The DevOps Zone is brought to you in partnership with LogEntries. Learn how you can convert any query into a data visualization for your dashboard with Logentries.

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.

The DevOps Zone is brought to you in partnership with LogEntries. Learn how you can convert any query into a data visualization for your dashboard with Logentries.

Topics:

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 }}