domains: add inwx provider

This commit is contained in:
Girish Ramakrishnan
2024-11-26 13:11:26 +05:30
parent f0207ff161
commit 78520e09c3
12 changed files with 338 additions and 3 deletions

View File

@@ -171,6 +171,7 @@ async function upsert(domainObject, location, type, values) {
}
for (let j = values.length + 1; j < records.length; j++) {
const [error] = await safe(createRequest('DELETE', `${CLOUDFLARE_ENDPOINT}/zones/${zoneId}/dns_records/${records[j].id}`, domainConfig));
if (error) debug(`upsert: error removing record ${records[j].id}: ${error.message}`);
}