dnscontrol/docs
Patrick Gaskin 70ce16ff23 Fix handling of SRV records with no target (indicated by ".")
According to the RFC, the way to indicate that a SRV has no target is to set the target to ".".  Some providers do not handle this, or the API returns "" instead of ".".  This situation is now tested in the integration tests and all providers (that support this) have been fixed.



* Cloudflare: Fix decoding empty SRV target (fixes #561)

SRV records with empty (".") targets are now returned as false by
the API, which breaks Unmarshaling it into a string.

* Use custom type for Cloudflare SRV target

Rewrote the SRV target decoding to use a custom type for (un)marshaling, as
Cloudflare returns false for null targets, but it requires a single period
for giving it one. The target code has also been made more flexible to future
API changes with additional normalization.

This has been tested with record creation, deletion, and update and works
as of 2019-11-05.

* DigitalOcean: Fix target FQDN for null targets

Without this, dnscontrol thinks an update is needed (.. != .) even
when the SRV target is correct.

* DNSimple: Fix parsing of null SRV target

DNSimple only returns two fields when the target is null.

* NameDotCom: Add note about not supporting null SRV targets, skip test

* DNSimple: Do not append a . unless we have all three parts

Signed-off-by: Amelia Aronsohn <squirrel@wearing.black>

* Regenerated provider matrix
2019-11-14 11:25:20 -05:00
..
_functions IGNORE() now supports glob pattern/wildcards (#463) 2019-05-27 10:14:29 -04:00
_includes Fix handling of SRV records with no target (indicated by ".") 2019-11-14 11:25:20 -05:00
_layouts Website fixes (Part 1) (#223) 2017-10-11 08:33:17 -04:00
_providers DOCUMENTATION: Fix small typo in Cloudflare (#556) 2019-10-23 13:27:04 -04:00
assets ROUTE53: Documentation for AWS Token PR (#403) 2018-09-05 09:07:28 -04:00
css Website fixes (Part 1) (#223) 2017-10-11 08:33:17 -04:00
flattener Work around extra whitespace in spf records (#361) 2018-05-03 10:03:38 -04:00
public wip 2017-10-01 14:13:22 -04:00
_config.yml tweaks to gcloud 2017-03-12 16:02:46 -07:00
adding-new-rtypes.md Documentation: Fix typos and formatting in SPF_BUILDING (#435) 2019-01-02 08:30:06 -05:00
alias.md ROUTE53: Support Route53's ALIAS record type (#239) (#301) 2018-01-16 05:53:12 -05:00
caa-builder.md General docs improvements (#481) 2019-05-20 22:33:50 -04:00
examples.md General docs improvements (#481) 2019-05-20 22:33:50 -04:00
getting-started.md CLOUDFLARE: Support API tokens (#555) 2019-10-23 11:48:00 -04:00
index.md DOC: Apply brand-preferred case (#429) 2019-05-23 09:29:21 -04:00
js.md Website fixes (Part 1) (#223) 2017-10-11 08:33:17 -04:00
lets-encrypt.md DOC: Apply brand-preferred case (#429) 2019-05-23 09:29:21 -04:00
migrating.md NEW PROVIDER: OctoDNS (#309) 2018-02-27 17:36:47 -05:00
nameservers.md DOC: Apply brand-preferred case (#429) 2019-05-23 09:29:21 -04:00
notifications.md Simple notification framework (#297) 2018-01-11 11:15:19 -05:00
opinions.md Add SIP/JABBER labels to underscore exception list (#453) 2019-03-04 12:11:25 -05:00
provider-list.md General docs improvements (#481) 2019-05-20 22:33:50 -04:00
release-engineering.md Remove unneeded "0." prefix on version. 2019-05-27 15:56:57 -04:00
runDocker.sh adding docs again 2017-01-11 13:02:45 -07:00
spf-optimizer.md Bugfix: redirect: should be redirect= (#507) 2019-06-21 07:48:59 -04:00
toc.md Fix spf-optimizer TOC link (#434) 2018-12-29 10:28:41 -05:00
unittests.md DOCS: Fix many spelling errors (#471) 2019-05-11 21:32:52 -04:00
why-the-dot.md DOCS: Fix many spelling errors (#471) 2019-05-11 21:32:52 -04:00
writing-providers.md DOCS: Fix many spelling errors (#471) 2019-05-11 21:32:52 -04:00