4 ms·
Technically, you should be able to have your local host resolve first. To avoid it being resolved and use the TLD instead, use the trailing dot: http://dk./ htt
by MayeulC 6y ago
Technically, you should be able to have your local host resolve first. To avoid it being resolved and use the TLD instead, use the trailing dot: http://dk./ http://dk./ https://news.ycombinator.com./ https://news.ycombinator.com./ This makes it a FQDN, just like you enter it in your DNS records. Practically, people tend to forget about it, and accessing websites this way sometimes break in unexpected ways when the server doesn't expect the trailing dot in the "host" header.
http://www.dns-sd.org./TrailingDotsInDomainNames.html http://www.dns-sd.org./TrailingDotsInDomainNames.html