3 ms·
> Can something with the dot at the end have a different IP? I guess or maybe you can do a hostname match. However, I remember back in the days Microsoft used
by nivla 13y ago
> Can something with the dot at the end have a different IP?
I guess or maybe you can do a hostname match. However, I remember back in the days Microsoft used to use
http://microsoft.com http://microsoft.com. as their test site. Now it just yields an error.
- jasomill 13y agoThat's because Microsoft uses hostname-based virtual hosting in IIS, and IIS happens to not recognize HTTP Host headers with trailing dots. This has nothing to do with IP addressing or DNS. In the absence of a resolver search list — which conventionally only applies to names without trailing dot — "microsoft.com" and "microsoft.com." result in the same DNS query, and therefore the same set of IP addresses. Whether this behavior is an obscure bug, a security feature, or both, is left as an exercise.