ydns / bash-updater

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

updater.sh: attempt to update both v4 & v6 #22

Open Mikaela opened 9 years ago

Mikaela commented 9 years ago

I am not very experienced with bash and this could probably be done better, but this appears to work for me.

I tested by setting domain's A record to 127.0.0.1 and AAAA to ::1 and then running this script which made the host update to correct addresses.

ref: #12

ilf commented 3 years ago

Thank you, it would be great to distinguish between IPv4 and IPv6, something the current version does not do. Ideally, the updater would check both and update both.