dnscontrol/docs/_functions/domain
Brice Figureau 7b8d608019 ROUTE53: Support Route53's ALIAS record type (#239) (#301)
* Stable comparison of metadata (#239)

Iterating over a map in Go never produces twice the same ordering.
Thus when comparing two metadata map with more than one key, the
`differ` is always finding differences.

To properly compare records metadata, we need to iterate the maps
in a deterministic way.

Signed-off-by: Brice Figureau <brice@daysofwonder.com>

* Support for Route53 ALIAS record type (#239)

Route53 ALIAS doesn't behave like a regular ALIAS, and is much more
limited as its target can only be some specific AWS resources or
another record in the same zone.

According to #239, this change adds a new directive R53_ALIAS which
implements this specific alias. This record type can only be used
with the Route53 provider.

This directive usage looks like this:
```js
D("example.com", REGISTRAR, DnsProvider("ROUTE53"),
R53_ALIAS("foo1", "A", "bar") // record in same zone
R53_ALIAS("foo2", "A",
  "blahblah.elasticloadbalancing.us-west-1.amazonaws.com",
   R53_ZONE('Z368ELLRRE2KJ0')) // ELB in us-west-1

```

Unfortunately, Route53 requires indicating the hosted zone id
where the target is defined (those are listed in AWS documentation,
see the R53_ALIAS documentation for links).
2018-01-16 05:53:12 -05:00
..
A.md adding docs again 2017-01-11 13:02:45 -07:00
AAAA.md adding docs again 2017-01-11 13:02:45 -07:00
ALIAS.md Support ALIAS records with Cloudflare (#89) 2017-04-19 13:13:28 -06:00
CAA.md Added 'Route 53' to CAA document. (#196) 2017-09-09 09:26:11 -04:00
CNAME.md adding mx and cname 2017-04-11 23:02:57 -06:00
DefaultTTL.md DefaultTTL.md: Improve example 2017-07-09 08:04:28 -04:00
DnsProvider.md adding docs again 2017-01-11 13:02:45 -07:00
IGNORE.md Add IGNORE(label) which ignores label at the provider (#183) (#300) 2018-01-15 15:39:29 -05:00
IMPORT_TRANSFORM.md docs/ Remove whitespace at EOL 2017-08-29 13:49:39 -04:00
MX.md adding mx and cname 2017-04-11 23:02:57 -06:00
NAMESERVER.md Document TXT, NS, NO_PURGE, PURGE, and IMPORT_TRANSFORM (#184) 2017-08-15 10:46:31 -07:00
NO_PURGE.md Document TXT, NS, NO_PURGE, PURGE, and IMPORT_TRANSFORM (#184) 2017-08-15 10:46:31 -07:00
NS.md Document TXT, NS, NO_PURGE, PURGE, and IMPORT_TRANSFORM (#184) 2017-08-15 10:46:31 -07:00
PTR.md docs/ Remove whitespace at EOL 2017-08-29 13:49:39 -04:00
PURGE.md Document TXT, NS, NO_PURGE, PURGE, and IMPORT_TRANSFORM (#184) 2017-08-15 10:46:31 -07:00
R53_ALIAS.md ROUTE53: Support Route53's ALIAS record type (#239) (#301) 2018-01-16 05:53:12 -05:00
TLSA.md Add TLSA record support (#165) (#203) 2017-09-15 09:03:29 -04:00
TXT.md Add support for TXT records with multiple strings (BIND, ROUTE53) (#293) 2018-01-04 19:19:35 -05:00