You can find the list of all registered TLDs with the corresponding Whois servers on the page of IANA. The Whois servers store information about the domain owners. In this list you can also see whether they are generic or country-specific top level domains.