add cf records sync for dkim

This commit is contained in:
Usman Nasir
2020-02-14 11:14:07 +05:00
parent 6dcd4f1a39
commit 24792a3489
2 changed files with 72 additions and 17 deletions

View File

@@ -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: