APIs
HTTP
Update API
Request the URI
https://dynv6.com/api/update
(or http://) by using the GET method every time your IP address changes.
Use the hostnames ipv4.dynv6.com
or ipv6.dynv6.com
to enforce a specific IP protocol version.
Parameters
-
hostname
- Your DynV6 hostname (mandatory)
-
token
-
Your API token
your-token
(mandatory) -
ipv4
-
Your IPv4 address in dotted decimal format (i.e.
123.123.123.123
)
auto
to use the client address
Keeps unchanged if empty or unset. -
ipv6
-
Your IPv6 network in
CIDR notation
(i.e.
2a02:12ab:34c:ef::/56
)
auto
to guess the prefix from your client address
6to4
to generate a 6to4 prefix from your IPv4 address
Keeps unchanged if empty or unset.
Use our update script
We provide a nice script that updates your address at dynv6. You can run it with:
token=your-token ./dynv6.sh example.dynv6.net
REST API
Coming soon
SSH
Upload your SSH key on the
public keys
page and connect to api@dynv6.com
.
To execute commands you can use our interactive shell (pseudo-terminal)
or run commands directly.
Use TAB
to learn the command structure.
Features implemented
- Listing and adding hostnames
- Listing records
- Updating the IPv4/IPv6 address of a dynv6 hostname
- Adding and updating A/AAAA/TXT records
Features coming next
- Adding and updating CNAME/MX records
- Removing records