Added a catch all for * & @, which are common references to the root domain
This commit is contained in:
parent
0e0e9f9989
commit
8acd8e5f59
@ -107,7 +107,7 @@ def commitRecord(ip):
|
|||||||
for subdomain in subdomains:
|
for subdomain in subdomains:
|
||||||
subdomain = subdomain.lower().strip()
|
subdomain = subdomain.lower().strip()
|
||||||
fqdn = base_domain_name
|
fqdn = base_domain_name
|
||||||
if subdomain != '':
|
if subdomain != '' and subdomain != '*' and subdomain != '@':
|
||||||
fqdn = subdomain + "." + base_domain_name
|
fqdn = subdomain + "." + base_domain_name
|
||||||
record = {
|
record = {
|
||||||
"type": ip["type"],
|
"type": ip["type"],
|
||||||
|
|||||||
Reference in New Issue
Block a user