Skip to content

Set txt in query params even when clearing#2

Open
aertje wants to merge 1 commit intocsp33:masterfrom
aertje:fix_txt_clear
Open

Set txt in query params even when clearing#2
aertje wants to merge 1 commit intocsp33:masterfrom
aertje:fix_txt_clear

Conversation

@aertje
Copy link

@aertje aertje commented Dec 2, 2025

I noticed that my IP entry in duckdns was cleared after a successful challenge.
Reading the spec I realised that when clearing the txt, that it needs to be specified in the query params, otherwise it will clear the IP address.

This fix ensures that the txt= entry is always set and hence only clears the TXT record when clearing. I validated it works as intended through manual API calls to duckdns.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant