Project

General

Profile

Bug #9053

Dynamic DNS will not allow Route 53 wildcard record

Added by Tim Gagnon 3 months ago. Updated 6 days ago.

Status:
New
Priority:
High
Assignee:
-
Category:
Dynamic DNS
Target version:
-
Start date:
10/20/2018
Due date:
% Done:

0%

Estimated time:
Affected Version:
Affected Architecture:

Description

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.

History

#1 Updated by Tom Embt 6 days ago

https://github.com/pfsense/pfsense/pull/4038

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.

Also available in: Atom PDF