tlds_pseudo.go 777 B

1234567891011121314151617181920212223
  1. package xurls
  2. // PseudoTLDs is a sorted list of some widely used unofficial TLDs.
  3. //
  4. // Sources:
  5. // * https://en.wikipedia.org/wiki/Pseudo-top-level_domain
  6. // * https://en.wikipedia.org/wiki/Category:Pseudo-top-level_domains
  7. // * https://tools.ietf.org/html/draft-grothoff-iesg-special-use-p2p-names-00
  8. // * https://www.iana.org/assignments/special-use-domain-names/special-use-domain-names.xhtml
  9. var PseudoTLDs = []string{
  10. `bit`, // Namecoin
  11. `example`, // Example domain
  12. `exit`, // Tor exit node
  13. `gnu`, // GNS by public key
  14. `i2p`, // I2P network
  15. `invalid`, // Invalid domain
  16. `local`, // Local network
  17. `localhost`, // Local network
  18. `onion`, // Tor hidden services
  19. `test`, // Test domain
  20. `zkey`, // GNS domain name
  21. }