diff --git a/management/dns_update.py b/management/dns_update.py index 6c16add1..b3764f7f 100755 --- a/management/dns_update.py +++ b/management/dns_update.py @@ -767,7 +767,7 @@ def set_custom_dns_record(qname, rtype, value, action, env): v = ipaddress.ip_address(value) # raises a ValueError if there's a problem if rtype == "A" and not isinstance(v, ipaddress.IPv4Address): raise ValueError("That's an IPv6 address.") if rtype == "AAAA" and not isinstance(v, ipaddress.IPv6Address): raise ValueError("That's an IPv4 address.") - elif rtype in ("CNAME", "TXT", "SRV", "MX", "SSHFP"): + elif rtype in ("CNAME", "TXT", "SRV", "MX", "SSHFP", "CAA"): # anything goes pass else: diff --git a/management/templates/custom-dns.html b/management/templates/custom-dns.html index ec010001..ac530cd2 100644 --- a/management/templates/custom-dns.html +++ b/management/templates/custom-dns.html @@ -33,6 +33,7 @@