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 neal

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
 
Top