feat: Implement proper DNS entries creation for Digital Ocean

pull/213/head
NaiJi ✨ 2023-01-10 21:24:26 +04:00
parent 07de11c75a
commit 120a8fc644
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ class DigitalOceanDnsApi extends DnsProviderApi {
'/domains/$domainName/records',
data: {
'type': record.type,
'name': record.name,
'name': record.name == domainName ? '@' : record.name,
'data': record.type == 'MX' ? '@' : record.content,
'ttl': record.ttl,
'priority': record.priority,