mirror of
https://github.com/timothymiller/cloudflare-ddns.git
synced 2026-03-21 22:48:57 -03:00
Added a catch all for * & @, which are common references to the root domain
This commit is contained in:
@@ -107,7 +107,7 @@ def commitRecord(ip):
|
||||
for subdomain in subdomains:
|
||||
subdomain = subdomain.lower().strip()
|
||||
fqdn = base_domain_name
|
||||
if subdomain != '':
|
||||
if subdomain != '' and subdomain != '*' and subdomain != '@':
|
||||
fqdn = subdomain + "." + base_domain_name
|
||||
record = {
|
||||
"type": ip["type"],
|
||||
|
||||
Reference in New Issue
Block a user