Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

ICANN added 100 or so top level gTLDs string in 2013 and 2014. See Delegated Strings at ICANN's website.

I want to fetch the delegated strings, but I don't want it with the HTML markup (it complicates my script). I want a simple list of strings like Mozilla publishes for its Public Suffix List (sadly, Mozilla's list is only available in HTTP).

Where does ICANN publish its list of gTLDs in plain text format?

(Sorry about the tags. Super User does not have the tags I needed (like ICANN and TLD), so I had to pick some lesser ones).

share|improve this question
up vote 1 down vote accepted

The root zone files (plain-text) are at

share|improve this answer
Man, that list is almost as painful as HTML, but I think that's as good as its going to get. Thanks. – jww Mar 22 '14 at 0:12
Not that hard... save the file as root.txt then... grep NS[[:space:]] root.txt | awk '{print $1}' | sort -u | sed -e 's/\.$//' – milli Mar 22 '14 at 6:27

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.