* Improve get-zones "js" format. New: ``` $ dnscontrol get-zone --format js providercredkey - stackoverflow.co.il var DSP_PROVIDERCREDKEY = NewDnsProvider("providercredkey"); var REG_CHANGEME = NewRegistrar("none"); D("stackoverflow.co.il", REG_CHANGEME, DnsProvider(DSP_PROVIDERCREDKEY), DefaultTTL(14400), A('www', '165.160.15.20'), ... ... ... ... //NAMESERVER('dns1.cscdns.net.'), //NAMESERVER('dns2.cscdns.net.') ) ``` * Update test data
* get-zones should comment out NAMESERVER() * Edits
* Add tests for get-zones * fix CAA, SSHFP, TLSA and other bugs * New format for get-zones: "djs" which is js but uses "disco commas" * Print diffs using github.com/andreyvit/diff Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>