ydns / bash-updater

YDNS Bash Updater Script
GNU General Public License v3.0
80 stars 44 forks source link

Update both addresses #1

Closed badboy closed 10 years ago

badboy commented 11 years ago

How do I update both addresses (v4 and v6) for the same host? I tried just sending them one after another but it seems that just replaces the saved IP.

commx commented 11 years ago

Hi badboy,

have you tried to specify the ip= parameter for each of the IP addresses you'd like to update? The update URL tries to guess the IP version for the specified IP address and updates the appropriate entry.

badboy commented 11 years ago

I just tried. It only picks the last submitted ip and completely replaces the host entry.

badboy commented 11 years ago

Any update on this?

85pando commented 10 years ago

As I see it, each host can only have one type (v4 or v6) at one time. A possible solution would be to create two hosts so you can have one for v4 and one for v6.

commx commented 10 years ago

In its current implementation you have to create two hosts with the same name, but with IPv4 address for the first and IPv6 address for the other host. That way you can have both IPv4 and IPv6 for a single host. This behaviour may change in a future update.

badboy commented 10 years ago

Thanks.