Only IPv6 update
Only IPv6 update
- Accueil
- Espace Client
- Community Forum
- Services
- Dynamic DNS Service
- Only IPv6 update
- Community Forum
- Only IPv6 update
Topic: Only IPv6 update
I use a raspberry pi with the dynudns update.It works well to connect and update, but it ONLY updates the ipv6 address, never the ipv4 address. But if I connect with other devices (like my Android phone), they can't connect because they use the old ipv4 address that I don't get updated.What is wrong?I followed https://www.dynu.com/DynamicDNS/IPUpdateClient/RaspberryPi-Dynamic-DNSAnd use this url to update: https://api.dynu.com/nic/update?username=USERNAME&password=PASSWORDSo I can see that the ipv6 gets updated (and if I change it to something else, after an update it is OK), but the ipv4 always stays the same; even if it is wrong (when I manually change it; the respons is always "nochng")thank you
Reply with quote | Report
By using this update URL https://api.dynu.com/nic/update?username=USERNAME&password=PASSWORD, the server will pick up the IP address from where the update request originates. I guess only IPv6 was detected so only IPv6 was updated.If there is any way you can get the IP address first and then use the IP address in the update string, both IPv4 and IPv6 will be updated:https://api.dynu.com/nic/update?username=USERNAME&password=PASSWORD&myipv4=IPv4&myipv6=IPv6Someone familiar with raspberry pi could write up a script to do it.
Reply with quote | Report
Posting the solution for completeness' sake. This is the full command:
echo url="https://api.dynu.com/nic/update?username=USERNAME&password=PASSWORD&myipv4=$(curl -s -4 ifconfig.co)" | curl -k -o /path/to/logfile -K -If you need your IPv6 address as well you can append to the url:
&myipv6=$(curl -s -6 ifconfig.co)
Reply with quote | Report
Author | Topic: Only IPv6 update |
---|---|
Pascal Vyncke Joined: 13/08/2017 |
Only IPv6 update dimanche 13 août 2017 07:09
I use a raspberry pi with the dynudns update.It works well to connect and update, but it ONLY updates the ipv6 address, never the ipv4 address. But if I connect with other devices (like my Android phone), they can't connect because they use the old ipv4 address that I don't get updated.What is wrong?I followed https://www.dynu.com/DynamicDNS/IPUpdateClient/RaspberryPi-Dynamic-DNSAnd use this url to update: https://api.dynu.com/nic/update?username=USERNAME&password=PASSWORDSo I can see that the ipv6 gets updated (and if I change it to something else, after an update it is OK), but the ipv4 always stays the same; even if it is wrong (when I manually change it; the respons is always "nochng")thank you
|
lucafesta Joined: 23/06/2017 |
Only IPv6 update mercredi 16 août 2017 22:47
By using this update URL https://api.dynu.com/nic/update?username=USERNAME&password=PASSWORD, the server will pick up the IP address from where the update request originates. I guess only IPv6 was detected so only IPv6 was updated.If there is any way you can get the IP address first and then use the IP address in the update string, both IPv4 and IPv6 will be updated:https://api.dynu.com/nic/update?username=USERNAME&password=PASSWORD&myipv4=IPv4&myipv6=IPv6Someone familiar with raspberry pi could write up a script to do it.
|
Sawyer Joined: 25/12/2020 |
Only IPv6 update mercredi 27 octobre 2021 03:57
Posting the solution for completeness' sake. This is the full command:
echo url="https://api.dynu.com/nic/update?username=USERNAME&password=PASSWORD&myipv4=$(curl -s -4 ifconfig.co)" | curl -k -o /path/to/logfile -K -If you need your IPv6 address as well you can append to the url: &myipv6=$(curl -s -6 ifconfig.co) |
It is currently jeudi 26 décembre 2024 17:34 US Mountain Standard Time
jeudi 26 décembre 2024 17:34