Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

up vote 1 down vote accepted

The root zone files (plain-text) are at http://www.iana.org/domains/root/files

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 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 at 6:27

Your Answer

 
discard

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.