Replies: 5 comments 22 replies
-
First question is, dynu has a "give me all of my domains" API, and a "get me the domain that hostname FOO is in". Using the latter with the specified hostname would be the easiest way to get the domain ID, needed for most calls. This would fail if the hostname didn't already exist. So, it seems less "correct". More correct to get all of the domains and match for the given domain name (given as with cloud flare zone in the username field), but that's a bunch more code (and doesn't match existing code, so more work) Opinions welcome, and any pointers to code that I haven't noticed yet that will search JSON responses for matching objects, rather than a single matching string. |
Beta Was this translation helpful? Give feedback.
-
Are you sure that we actually need to do anything more complicated than what the plugin does now? I'd need to check if all is still working, but at least in my setups, I haven't noticed any changes / failures lately. The "old" API still works perfectly, which is much simpler and basically modeled after the original DynDNS API: https://www.dynu.com/en-US/DynamicDNS/IP-Update-Protocol Where did you get the impression that it no longer works? |
Beta Was this translation helpful? Give feedback.
-
Yeah, I've been thinking about that too. It no longer worked for me. It's been a few years, and I see a bunch of text on their site that suggests something was now unsupported. But, I have been talking to their support folks about the "old" API, which is still documented, and they have finally gotten me enough info to make it work. At least by hand with curl. I was going to go back to seeing if the dyndns plugin would work. Anyway. Thanks aclomob for the feedback, do let me know if you find it is still working. And are you using "hostname" or "alias" parameters? (The old API only accepts "alias" parameters for hostnames, it's weird, but I think I know the details of it). I am setting half a dozen hostnames anytime I update my address, so figuring out which syntax to use is something I haven't figured out in inadyn yet. I just yesterday got so I could make the updates with curl by hand and see any success. |
Beta Was this translation helpful? Give feedback.
-
So for @troglobit (and anyone else who makes such decisions), it seems to me that the existing dyndns doesn't work well enough for dynu. Even if adding records isn't needed, I presume wanting to set more than one hostname, and hostnames inside the domain level, is something you/we want to support. |
Beta Was this translation helpful? Give feedback.
-
Thank you for your feedback. I'll abandon my REST API code then. Thank you @acolomb for your help in getting the custom config working for my needs. |
Beta Was this translation helpful? Give feedback.
-
I think dynu.com no longer supports a simple access method. Their REST API is documented at https://www.dynu.com/Support/API. I am planing to copy cloudflare/porkbun plugins into a new dynu plugin.
Starting this discussion thread so I can write questions and get opinions from core maintainers. Thanks.
Beta Was this translation helpful? Give feedback.
All reactions