3 ms·
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."
by LeoPanthera 4y ago
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.
- iRomain 4y agoI'm not saying "ai" is not a valid domain. I'm just guessing why people get to a website when they just type "ai". I'm on my phone now, if you search for the ai entry in the root zone file (https://www.iana.org/domains/root/files https://www.iana.org/domains/root/files) you should find that IP returned by your host command. Can you try curling "ai" and see if the content returned (if any) is the same as the one from "www.ai"?
- LeoPanthera 4y agoThey are the same, but that's not really the point. www has been registered in addition to the entries for the root TLD. You said "the internals of the browser that automatically adds a www in front" - that's irrelevant. host isn't doing that, curl isn't doing that.