-
-
Notifications
You must be signed in to change notification settings - Fork 175
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
Bug: Don Dominio simple-api.dondominio.net connection reset by peer
#533
Comments
Good point, but:
I could change it to use https://dondominio.dev/en/dondns/docs/api/#usage as you mentioned, but to save me the ~hour of work, the error |
Email sent to their support:
I'll update the code to work with the API described in https://dondominio.dev/en/api/docs/api/ |
Actually I just received a response, can you try checking with dondominio's support why this is as such?
|
Sorry, I’m no longer using this software and outta home. I can reinstall and test when I get back to home, but that will be some weeks for now
|
connection reset by peer
Let’s shameless mention @mateusan while I’m not back to see if he, as the author of the original official DonDominio client, can provide some clue |
endpoint: https://dondns.dondominio.com |
Ok so the current endpoint and API calls are no longer valid I guess then... |
Please let me know if it works, especially number 1. and perhaps number 3. 👍 |
Thanks a lot for your work. I expect to be back in Spain in 2-3 weeks and will test extensively |
|
Thanks @mateusan EDIT: Hopefully this doesn't trigger the |
Yes, the new EndPoint for api.dondomain.com is simple-api.dondomain.net, but this endpoint is behind a FireWall. Therefore, it does not make sense to use this service for "Dynamic DNS". |
Oh sadly true...
Why not just sticking to rate limiting though?
It feels like the second part would do the trick and that the first part is kind of unneeded? Thanks!! |
The service at simple-api.dondominio.net is focused on domain registration, not the "dynamic DNS" service For "Dynamic DNS" services, use the other api. Any suggestions or changes needed, please let us know. We can even make a resource for you |
The point of the more complex API was to have ddns-updater create the A or AAAA record if it didn't exist (see issue #129 tracking this for existing providers). |
Live got complicated this year, and I had no chance to test this until recently. My container fails with this error:
I have tried every configuration I could think of, but nothing works. I think it might be related to the compulsory parameter "Name", as this is not mandatory according to the DonDominio docs |
The I think I spotted the problem, and funnily enough, it's in their API documentation. They mention in https://dondominio.dev/en/dondns/docs/api/#usage the field
Does this work?? 🤔 If not, what error response do you get? |
It works OK with the API key, with the password it returns: {"success":false,"version":"2.0","messages":["Wrong key"],"user":"","ts":"2024-08-21T12:12:58+02:00"} Also, I think I didn't paste all the log info in my previous message, ddns-updater also throws:
|
Ok can you run ddns-updater with LOG_LEVEL=debug to see what request it sends to don dominio? I'm a bit confused, since it should work as it's currently using |
I edited my previous comment adding log information I forgot to add some days ago , I will try the LOG_LEVEL thing as soon as possible. |
As I mentioned in the past, I run ddns-updater in Truenas Scale. I'm starting to think the problem may be related to Truenas, because the log on ddns-updater looks ok, it sees the public IP correctly, sees it is already applied to the domain, and skips update.
But on the Truenas GUI I see the error I posted before:
It is showing an old IP and I don't know where that IP is coming from. |
Perhaps truenas shows an old unhealthy message? What do you get in a terminal with |
The message was current and the web interface never became available. So definitively something to do with the startup probe. Now it is working OK, dunno why, will resume debugging next time I get an IP change. Maybe you want to close this ticket, as it seems it is not related to ddns-updater after all, or at least not with the Dondominio module. |
Is this urgent: No
DNS provider(s) you use: Don Dominio
Program version: Running version v2.5.0 built on 2023-06-07T09:11:38Z (commit a6f72d9)
What are you using to run the container: docker-compose image provided by TrueNAS Scale
I'm not sure the petition is being done at the correct address, my logs shows https://simple-api.dondominio.net but on their documentation they use https://dondns.dondominio.com/plain/ (for plain answer) https://dondns.dondominio.com/json/ (for json answer) or https://dondns.dondominio.com/xml/ (for xml answer)
Logs:
Configuration file (remove your credentials!):
Host OS:
Truenas Scale (Linux)
The text was updated successfully, but these errors were encountered: