mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-10 07:16:15 +01:00
add cf records sync for dkim
This commit is contained in:
@@ -712,12 +712,17 @@ class DNSManager:
|
||||
checker = 0
|
||||
|
||||
for dns_record in dns_records:
|
||||
if dns_record['ttl'] == 1:
|
||||
ttl = 'AUTO'
|
||||
else:
|
||||
ttl = dns_record['ttl']
|
||||
|
||||
dic = {'id': dns_record['id'],
|
||||
'type': dns_record['type'],
|
||||
'name': dns_record['name'],
|
||||
'content': dns_record['content'],
|
||||
'priority': '1400',
|
||||
'ttl': dns_record['ttl']
|
||||
'ttl': ttl
|
||||
}
|
||||
|
||||
if checker == 0:
|
||||
|
||||
Reference in New Issue
Block a user