Tool to update dynECT hosted domains from collins assets
collins2dynect will:
- delete all A records from the given domain
- Request all assets from collins
- Add a DNS record for each address a asset has
- Add a DNS record [alias].[domain] for each alias in
DNS_ALIASES
- Publish the zone
To add a record 'foo.[domain]' pointing to asset 'bar's address from
pool 'dmz', set the DNS_ALIASES
attribute like this:
collins-shell asset set_attribute DNS_ALIASES "foo@dmz" --tag="bar"
DNS_ALIASES is a whitespace separated list.
The format (hardcoded for now):
[PRIMARY_ROLE][%03d ID].[SECONDARY_ROLE].[POOL].[domain]