Fixed detection of dest_domain for 3TLD,2TLD,IPv4 and IPv6