diff --git a/CHANGELOG.md b/CHANGELOG.md index 28286d2b..5faec07d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ In Development * Made nightly re-provisioning of TLS certificates less noisy. * Fixed bugs in rsync backup method. * Added support for DSA and ED25519 SSHFP records. +* Added support for custom SSHFP records. v0.21c (February 1, 2017) ------------------------- diff --git a/management/dns_update.py b/management/dns_update.py index 165f52ef..6c16add1 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"): + elif rtype in ("CNAME", "TXT", "SRV", "MX", "SSHFP"): # anything goes pass else: diff --git a/management/templates/custom-dns.html b/management/templates/custom-dns.html index 30b29890..ec010001 100644 --- a/management/templates/custom-dns.html +++ b/management/templates/custom-dns.html @@ -37,6 +37,7 @@ + @@ -124,7 +125,7 @@ email The email address of any administrative user here. password That user’s password. qname The fully qualified domain name for the record you are trying to set. It must be one of the domain names or a subdomain of one of the domain names hosted on this box. (Add mail users or aliases to add new domains.) -rtype The resource type. Defaults to A if omitted. Possible values: A (an IPv4 address), AAAA (an IPv6 address), TXT (a text string), CNAME (an alias, which is a fully qualified domain name — don’t forget the final period), MX, or SRV. +rtype The resource type. Defaults to A if omitted. Possible values: A (an IPv4 address), AAAA (an IPv6 address), TXT (a text string), CNAME (an alias, which is a fully qualified domain name — don’t forget the final period), MX, SRV, or SSHFP. value For PUT, POST, and DELETE, the record’s value. If the rtype is A or AAAA and value is empty or omitted, the IPv4 or IPv6 address of the remote host is used (be sure to use the -4 or -6 options to curl). This is handy for dynamic DNS!