5 ms·
But as far as TLS name matching goes, it's different. Can something with the dot at the end have a different IP?
by MichaelGG 13y ago
But as far as TLS name matching goes, it's different. Can something with the dot at the end have a different IP?
- marcosdumay 13y agoNope. If you don't have a "com" domain at your local network, "example.com" and "example.com." point to the same machine. The TLS domain is matched by the web server, it has no relation to DNS, except that both use the same domains.
- 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.