Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Protocol says return "good" on success #2

Open
bigon opened this issue Jan 28, 2023 · 2 comments
Open

Protocol says return "good" on success #2

bigon opened this issue Jan 28, 2023 · 2 comments

Comments

@bigon
Copy link

bigon commented Jan 28, 2023

Hello,

The dyndns protocol says that on success the server should return "good", but here it's returning "success"

This breaks the integrated "dyndns" feature of my ISP router

https://help.dyn.com/remote-access-api/return-codes/

@kbabioch
Copy link
Owner

Does it work when you change success to good in this line:

php-ddns/update.php

Lines 170 to 175 in 4af5251

if ($ret === 0) {
echo 'success';
} else {

I think I took success from the output of nsupdate and it worked for me just fine, but I guess it depends on the client. Should be a trivial change, but let's first verify that it indeed fixes your problem.

@bigon
Copy link
Author

bigon commented Jan 28, 2023

Yes yes changing that line to "good" is indeed working (I was not clear enough)

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

No branches or pull requests

2 participants