Dynamic DNS will not allow Route 53 wildcard record
When configuring a dynamic DNS client to update Route 53 (AWS) records, the web form will not validate a hostname that contains a wildcard character, e.g.: "*.example.com". Creating A-records with wildcard characters is allowed in Route 53.
Additionally, creating a dynamic DNS client for "example.com" and enabling the "wildcards" option will not update the record with a literal wildcard, in this case, "*.example.com"
The expected behavior is that a hostname with a wildcard character would be allowed, given that it's a perfectly valid DNS record in Route 53.
#1 Updated by Tom Embt over 1 year ago
It seems to me the wildcard checkbox is intended for providers that offer a canned dynamic DNS product, where adding a wildcard entry is basically a feature toggle. For providers such as AWS Route53 which are full featured DNS providers, the sensible approach seems to be to just put the wildcard in the hostname literally (which currently fails validation as described).
- hide wildcard and MX checkboxes since neither are used by the Route53 code
- update the call to is_domain() to have a truthy second argument, allowing wildcards for route53 and route53-v6
Tested working for me with wildcards on IPv4 and IPv6 both at the top of the zone and farther down.