Fix wildcard subdomain support
This commit is contained in:
parent
83fa74831e
commit
e913d94eb8
@ -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"],
|
||||||
|
|||||||
Reference in New Issue
Block a user