add ipv6 support to oo-register-dns

thanks to Magnus919bis on irc for the idea