Open grahjenk opened 9 years ago
I have both IPv4 and IPv6 automatically upgraded with this script. You must just ask two records to ydns, A and AAAA.
The current API is not able to provide that, because the ip
resource looks for the REMOTE_ADDR
header as supplied by the web server. If your client connects via IPv4, we only see the IPv4 address and vice-versa.
However, as mentioned recently, I'm working on a major update with a new REST-based API (v2), which offers all this features (also bulk update of records).
I'll keep this issue opened as feature request.
I have both IPv4 and IPv6 addresses, and I'd like to be able to get each of them separately. Could we extend the "https://ydns.eu/api/v1/ip" capability please, perhaps by using separate URLs like:
https://ydns.eu/api/v1/ip4 .. and .. https://ydns.eu/api/v1/ip6
Regards ..