Fix wildcard subdomain support

This commit is contained in:
Timothy Miller 2023-02-15 15:22:06 -05:00
parent 83fa74831e
commit e913d94eb8

View File

@ -135,7 +135,7 @@ def commitRecord(ip):
proxied = option["proxied"] proxied = option["proxied"]
fqdn = base_domain_name fqdn = base_domain_name
# Check if name provided is a reference to the root domain # Check if name provided is a reference to the root domain
if name != '' and name != '*' and name != '@': if name != '' and name != '@':
fqdn = name + "." + base_domain_name fqdn = name + "." + base_domain_name
record = { record = {
"type": ip["type"], "type": ip["type"],