add IPv4/IPv6 common resolver