Merge pull request #29 from xinxijishuwyq/master

Ignore case
This commit is contained in:
Timothy Miller 2020-12-20 00:41:09 -05:00 committed by GitHub
commit 839ffe2551
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,6 +56,7 @@ def commitRecord(ip):
if "ttl" in c: if "ttl" in c:
ttl=c["ttl"] ttl=c["ttl"]
for subdomain in subdomains: for subdomain in subdomains:
subdomain = subdomain.lower()
exists = False exists = False
record = { record = {
"type": ip["type"], "type": ip["type"],