linux:networking:compare_zone_on_two_dns_servers

Differences

This shows you the differences between two versions of the page.


linux:networking:compare_zone_on_two_dns_servers [2019/10/31 09:05] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +====== Compare DNS zone on two different DNS servers ======
 +<code bash> diff <(sort -u <(dig +nottlid +noall +answer @10.0.0.10 example.com TXT -t axfr) ) <(sort -u <(dig +nottlid +noall +answer @10.0.0.11 example.com TXT -t axfr) )</code>
 +Works in bash
  
 +Query txt records with nslookup:
 +<code bash>set q=txt
 +c3po._domainkey.altn.com</code>