tipctl icon indicating copy to clipboard operation
tipctl copied to clipboard

Change the field order of the output of domain:dns:getzonefile

Open systeembeheer-rtvu opened this issue 2 years ago • 0 comments

Please consider to change the field order of the output of domain:dns:getzonefile to match the argument order of other commands in tipctl.

The zone file output looks like:

@                    AAAA  3600 2a01:7c8:3:1337::27
@                    MX    3600 10 @
@                    TXT   3600 "v=spf1 ~all"
this                 A     300  195.60.214.12
transip-A._domainkey CNAME 3600 _dkim-A.transip.email.
transip-B._domainkey CNAME 3600 _dkim-B.transip.email.
transip-C._domainkey CNAME 3600 _dkim-C.transip.email.
www                  CNAME 3600 @
_dmarc               TXT   3600 "v=DMARC1; p=none;"

This results in this order: <Name> <Type> <Expire> <Content> While the argument order of a command is: <Name> <Expire> <Type> <Content>. The latter order also matches the order in the web portel of TransIP. ;-) It's nice and predictable when the order is consistent.

systeembeheer-rtvu avatar Apr 07 '22 15:04 systeembeheer-rtvu