From bbc54b79847b638dadd9d706e737ff299b2fbffb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=81=E5=91=A8=E9=83=A8=E8=90=BD?= Date: Fri, 5 Apr 2024 16:52:08 +0800 Subject: [PATCH] fix(run): domain name uniformly lowercase to avoid problems --- run.py | 1 + 1 file changed, 1 insertion(+) diff --git a/run.py b/run.py index 5a707082..0fd17d2f 100755 --- a/run.py +++ b/run.py @@ -104,6 +104,7 @@ def update_ip(ip_type, cache, dns, proxy_list): record_type = (ip_type == '4') and 'A' or 'AAAA' update_fail = False # https://github.com/NewFuture/DDNS/issues/16 for domain in domains: + domain = domain.lower() # https://github.com/NewFuture/DDNS/issues/431 if change_dns_record(dns, proxy_list, domain=domain, ip=address, record_type=record_type): update_fail = True if cache is not False: