August 11, 2014

YDNS update 2.1.4

YDNS received another small update. This update basically introduces a new API resource that can be used to get the public IP address as seen by YDNS. This will make it possible to check whether the public IP address has changed in a system-independent way; the updater script is updated soon.

The new API endpoint is located at https://ydns.eu/api/v1/ip and will return the public IP address as seen on the Internet. While that endpoint returns a plain string with the IP address, you can append .json to the resource to get JSON formatted response. That will also contain the address family.

Example response (https://ydns.eu/api/v1/ip.json):

{"ip": "2001::1234", "address_type": 6}

No comments:

Post a Comment