Merge pull request #1344 from rezwanahmedsami/v2.3.7

bug: fixed pydns version
This commit is contained in:
Usman Nasir 2024-10-29 13:37:55 +04:00 committed by GitHub
commit d32e41d3a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View File

@ -522,7 +522,7 @@ class cPanelImporter:
SOACheck = 1
continue
if SOACheck == 1 and items.find(')') > -1:
if (SOACheck == 1 and items.find(')') > -1) or (SOACheck == 1 and items.find('NS') > -1 and items.find(zone.name) > -1):
SOACheck = 0
start = 1
continue
@ -530,6 +530,9 @@ class cPanelImporter:
pass
if start == 1:
if os.path.exists(ProcessUtilities.debugPath):
message = f'Current DNS record we are creating for {zone.name} is {items}'
logging.statusWriter(self.logFile, message, 1)
if len(items) > 3:
if items.find("DKIM1") > -1:
continue

View File

@ -19,7 +19,7 @@ oauthlib==3.1.0
paramiko==2.9.2
pexpect==4.8.0
psutil==5.7.3
py3dns==3.2.1
py3dns==4.0.2
pyOpenSSL==19.1.0
pysftp
pyotp