Let Record Object validate IPv4 and IPv6 Addresses
tzwenn opened this issue · comments
"Design and implement a nice API to update DNS-entries.
Requirements:
- Must work with
curl
/wget
- Must work with AVM FritzBox! 7490
Prosposed URL Scheme:
[https://.../records/update?domain=<name.zone.tld>&key=<apikey>&a=<ipv4>&aaaa=<ipv6>
](https://.../records/update?domain=%3Cname.zone.tld%3E&key=%3Capikey%3E&a=%3Cipv4%3E&aaaa=%3Cipv6%3E%60)
Answer:
200 OK
When neither a
nor aaaa
is provided, the server tries to read client's IP."