From 8acd8e5f59de6811b3c292b85baf74b3c7dc720a Mon Sep 17 00:00:00 2001 From: Timothy Miller <46549361+timothymiller@users.noreply.github.com> Date: Sat, 30 Jul 2022 20:12:24 -0400 Subject: [PATCH] Added a catch all for * & @, which are common references to the root domain --- cloudflare-ddns.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudflare-ddns.py b/cloudflare-ddns.py index dc24ddd..445c50c 100755 --- a/cloudflare-ddns.py +++ b/cloudflare-ddns.py @@ -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"],