IPv6 support and on-demand update

IPv6 addresses are now supported. In addition to it DNS updates are only triggered if IP has changed.