Update dyndns.class

Only use IPv4_only function if ipv6 is false