Merge pull request #596 from nqb/stretch-unstable

[fix] Quotes around CAA value for letsencrypt.org
This commit is contained in:
Alexandre Aubin 2018-12-09 20:45:39 +01:00 committed by GitHub
commit 96dcd903ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -340,7 +340,7 @@ def _build_dns_conf(domain, ttl=3600):
{"type": "TXT", "name": "_dmarc", "value": "\"v=DMARC1; p=none\"", "ttl": 3600}
],
"extra": [
{"type": "CAA", "name": "@", "value": "128 issue 'letsencrypt.org'", "ttl": 3600},
{"type": "CAA", "name": "@", "value": "128 issue \"letsencrypt.org\"", "ttl": 3600},
],
}
"""
@ -397,7 +397,7 @@ def _build_dns_conf(domain, ttl=3600):
# Extra
extra = [
["@", ttl, "CAA", "128 issue 'letsencrypt.org'"]
["@", ttl, "CAA", '128 issue "letsencrypt.org"']
]
return {