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

1

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).

jww

Posted 2014-03-21T00:59:11.703

Reputation: 1

Answers

1

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

milli

Posted 2014-03-21T00:59:11.703

Reputation: 1 682

Man, that list is almost as painful as HTML, but I think that's as good as its going to get. Thanks. – jww – 2014-03-22T00:12:31.543

Not that hard... save the file as root.txt then... grep NS[[:space:]] root.txt | awk '{print $1}' | sort -u | sed -e 's/\.$//' – milli – 2014-03-22T06:27:30.577