You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
836 B

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