configure A records for default nameservers'

'
This commit is contained in:
usmannasir
2024-10-06 18:10:17 +05:00
parent 25dca2beb6
commit 7c4e5e71ae
2 changed files with 19 additions and 9 deletions

View File

@@ -562,15 +562,6 @@ class DNS:
def createDKIMRecords(domain):
try:
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.6/site-packages/tldextract/.suffix_cache'
ProcessUtilities.executioner(command)
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache'
ProcessUtilities.executioner(command)
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python*/site-packages/tldextract/.suffix_cache'
ProcessUtilities.executioner(command, None, True)
import tldextract
no_cache_extract = tldextract.TLDExtract(cache_dir=None)