Tom Limoncelli
c1206a8d4c
ENHANCEMENT: get-zones: No longer generate END tokens ( #3253 )
2024-12-16 17:59:35 -05:00
Tom Limoncelli
544d731dec
get-zones now outputs END);
notation and prettier whitespace ( #2849 )
2024-02-27 15:11:13 -05:00
Tom Limoncelli
cbccbbeb8d
REFACTOR: Opinion: TXT records are one long string ( #2631 )
...
Co-authored-by: Costas Drogos <costas.drogos@gmail.com>
Co-authored-by: imlonghao <git@imlonghao.com>
Co-authored-by: Jeffrey Cafferata <jeffrey@jcid.nl>
Co-authored-by: Vincent Hagen <blackshadev@users.noreply.github.com>
2023-12-04 17:45:25 -05:00
Tom Limoncelli
d4f6e01e7a
"get zones" js/djs format should generate double quotes, not single ( #2526 )
2023-08-21 16:16:13 -04:00
Hamish Moffatt
5fd8b65815
format=js generates wrong DS() format ( #2332 )
...
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2023-05-08 08:08:26 -04:00
Tom Limoncelli
391622ff55
get-zones now outputs a comment about CNAMEs at apex ( #1732 )
2022-08-29 10:18:39 -04:00
Tom Limoncelli
35d47d86e7
get-zones "js" format should generate petty DSP variable ( #1630 )
...
* 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
2022-07-19 11:21:37 -04:00
Tom Limoncelli
5f66991458
Fix failing test
2020-06-19 17:15:26 -04:00
Tom Limoncelli
6348b1d995
get-zones should comment out NAMESERVER() ( #743 )
...
* get-zones should comment out NAMESERVER()
* Edits
2020-05-22 10:20:10 -04:00
Tom Limoncelli
4edf360854
get-zones output should work as input into preview ( #688 )
...
* 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>
2020-03-10 11:32:47 -04:00