Skip to content

Conversation

@ldez
Copy link
Member

@ldez ldez commented Oct 26, 2025

The API documentation is not clear.

Update DNS records for the selected domain.

Using overwrite = true will replace existing records with the provided ones. Otherwise, existing records will be updated and new records will be added.

The update of the recordsets uses name/subdomain + type as a "key".

When using overwrite = false, the update only applies to the recordset explicitly defined inside the request body based on the "key" and not against the zone as a whole.

And if one of the updated records, inside a recordset, already exists, a cryptic error is thrown:

[DNS:4008] DNS resource record is not valid or conflicts with another resource record

Fixes #2688

@ldez ldez added this to the unreleased milestone Oct 26, 2025
@ldez ldez requested a review from dmke October 26, 2025 21:45
@ldez ldez merged commit 4bb17b0 into go-acme:master Oct 27, 2025
7 checks passed
@ldez ldez deleted the fix/dns/hostinger/update-delete branch October 27, 2025 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants