Dnsdiff
github.com
github.com
One question that springs to mind: does this handle round robin DNS entries? With things like Alias records at Amazon becoming more common, and other pre-existing round robin setups out there, i could see those being important to consider. I would test it myself now but i need to hit bed for the night :-) If no one answers i'll post the answer when I get to test it out.
Heh .. no way! :)
Ruby projects are always gems, Haskell projects always have a Cabal definition, and Node projects are always available in NPM – but so often I see Python scripts or libraries that don't have a setup.py and friends. The state of Python packaging is a bit of a mess still, granted, but it's not difficult. The guide is here: https://packaging.python.org/
if color_enabled:
print(added(r2.answer, color=True))
else:
print(added(r2.answer))
wouldn't you rather write: print(added(r2.answer, color=color_enabled))
after adjusting color_enabled to be None or True?great project btw!
python3.4 -m dnslib.client --server <ns1> --diff <ns2> <domain> <type>https://github.com/joshenders/dnsdiff/blob/master/dnsdiff#L1...
If you use dig and a text diff, you'll see more noise for lines which have been reordered, omitted, etc. This approach provides better output, making it easier to read and decreasing the odds of operator error – which is always a good thing but particularly so for something as important as DNS.