Open Mikaela opened 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
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.
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