News for hackers. Stuff that matters.
Re:Buying a single character domain – and 3 character FQDN –... by 1f60c on Saturday August 15, 2020 @11:35AM (#24169602)
Does this mean you (theoretically) can’t name a host "dk" on your local network? That seems bad, (even if naming hosts after TLDs is a bad idea).
Re:Buying a single character domain – and 3 character FQDN –... by MayeulC on Saturday August 15, 2020 @12:05PM (#24169868)
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./ 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

Re:Buying a single character domain – and 3 character FQDN –... by kevincox on Saturday August 15, 2020 @05:21PM (#24172509)
You shouldn't be doing this anyways. There are reserved TLDs for this like .corp

https://tools.ietf.org/id/draft-chapin-rfc2606bis-00.html#ne...