Only try to query for subdomains if the parent domain exists
Fixed copy and paste bug which was using IPv6 webmail addresses instead of www addresses.