mirror of
https://github.com/timothymiller/cloudflare-ddns.git
synced 2026-03-21 22:48:57 -03:00
Fix wildcard subdomain support
This commit is contained in:
@@ -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