1 // Copyright (c) 2015, Daniel Martà <mvdan@mvdan.cc>
2 // See LICENSE for licensing information
6 // PseudoTLDs is a sorted list of some widely used unofficial TLDs.
9 // * https://en.wikipedia.org/wiki/Pseudo-top-level_domain
10 // * https://en.wikipedia.org/wiki/Category:Pseudo-top-level_domains
11 // * https://tools.ietf.org/html/draft-grothoff-iesg-special-use-p2p-names-00
12 // * https://www.iana.org/assignments/special-use-domain-names/special-use-domain-names.xhtml
13 var PseudoTLDs = []string{
15 `example`, // Example domain
16 `exit`, // Tor exit node
17 `gnu`, // GNS by public key
19 `invalid`, // Invalid domain
20 `local`, // Local network
21 `localhost`, // Local network
22 `test`, // Test domain
23 `zkey`, // GNS domain name