This has nothing to do with the "www" subdomain. I assure you that the unix "host" tool is not trying to guess subdomains if the lookup fails:
$ host "ai."
ai has address 209.59.119.34
ai mail is handled by 10 mail.offshore.ai.