DYN URL Call

wsalbrecht

New Member
Hi

Is there a way to call the dynamic dns url and posting my ip address. ie. If I know what my WAN address is, can I make an https call to Zoneedit eg :


Code:
https://[login]:[token]@dynamic.zoneedit.com/dyn/jsclient.php?rsp_ident=zoneedit&hostname=[my domain]&wildcard=NO&myip=[x.x.x.x]

I see the javascript example is failing due to the following error (in chrome) :



Basically if I know my address can I not just call the Zoneedit API and set the ip address using a script ?

Thanks in advance.
 

sproskin

Administrator
Staff member
Hello.

It looks like Google is trying to set standards again by blocking user logins via HTTPS.

Is it at all possible to use another browser, or a command line option such as wget?
 

sandy

Administrator
Staff member
hi there

chrome seems to have dropped embedded credentials.

Firefox / edge perhaps will continue to function properly.

regards.
 
Last edited:

wsalbrecht

New Member
Thanks for the feedback. Managed to do a http call as follows to

https://[zoneedit login]:[token]@api.cp.zoneedit.com/dyn/generic.php?hostname=[doamin in DYN record]&myip=[new ip number to set]

Also simulated in Postman, interesting issue was not working until I reset my token, and then it started to work.

Thanks
 

m.dns.user

New Member
Thanks for the feedback. Managed to do a http call as follows to

https://[zoneedit login]:[token]@api.cp.zoneedit.com/dyn/generic.php?hostname=[doamin in DYN record]&myip=[new ip number to set]

Also simulated in Postman, interesting issue was not working until I reset my token, and then it started to work.

Thanks
This does not work for me. Have things changed further?
I was attempting a custom URL DDNS update from my NAS. So, I then attempted it in a browser and saw:
<ERROR CODE="702" PARAM="600" TEXT="Minimum 600 seconds between requests" ZONE="<redacted_zone>">

I'll wait 600s before attempting again.
 
Last edited:
Top