Discussion Locked

Querying 2nd level TLD and ccTLD

0 helpful
16 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I need to know if there is such tool or if you are able to provide me tools that can query a Top Level Domain (TLD) name or Country Code TLD (ccTLD).

The program should be able to query and list all the variations in a TLD. For example if I am to query on New Zealand ccTLD (.NZ) the
program should be able to list all variations of second level TLD as listed below.
AC.NZ|CO.NZ |CRI.NZ|GEN.NZ|GOVT.NZ|IWI.NZ
MIL.NZ|NET.NZ|ORG.NZ|SCHOOL.NZ

This automated domain query program must be able to run on Win NT, and summarize the findings. Such as, there are 10 second level TLD in .NZ domain, and these 10 are, AZ.NZ, CO.NZ, etc etc etc.

Benny

16 replies

by avenger

Though I have admittedly little knowledge of what can be done with DNS and it's tools, I will share my opinion that I think there is no such tool as DNS to my knowledge doesn't return excess information. It will return information based on a specific query or on the path it took to find an answer to a specific query. Without this program already knowing all the second level TLD's I don't see how it could query for them. Of course I'm wrong though, because negative answers always are and someone always will figgure everything out.

Thank you,

Nicholas

by smokeybear

NIcholas,

Take a look at this site, http://www.isc.org/ds/WWW-200001/dist-byname.html. In this page you will see a listing of second level domain names that are associated with certain ccTLDs. Now, since they are able to tell which domain is second level domain and count them, I am sure that they capture certain information about the domains. They have the ability to segregate and tell the difference between first & second level domains. Obviously, they dod not bother to list all the second level domain names as it is much too large of an information to be publish. Sincerely, Benny.

by gicu artistu'

RFC 2870 Root Name Server Operational Requirements

You can find this on the same site www.isc.org. What I know about this issue is that usually you can make this query if you operate one of root servers. the root servers are running usually a specific DNS bindery software. And this software should have that utility.

Luck

by smokeybear

Yes, that is possible if you have access to on eof the root server with BIND, the propblem is that I have no access to any of this. Another way is to querry for the domain names of these IP ranges:
10.0.0.0 - 10.255.255.255
172.16.0.0 - 172.31.255.255
192.168.0.0 - 192.168.255.255
These are as specified in RFC1918, IP address space for private internets. However querrying aon such a large process on my NT PIII 500MZH machine will take weeks. Sincerely, Benny.

by 3ple-chase

Registration of ccTLD's do not require IP addresses attached to them in the authoritative (Registry) db that maintains the TLD's - COM,NET and ORG.
It is therefore,a query on a ccTLD will not resolve to provide you with all the pertinent information regarding the 2nd level domain names.
Query TLD's against the authoritative whois db that resolves the query by pointing to the ccTLD's related through the TLD and not the IP. ccTLD's must be resolved through the Registry of the country that maintains that country code top level domain name.

by smokeybear

Yes, Registration of ccTLD's do not require IP addresses attached to them in the authoritative (Registry) db that maintains the TLD's - COM,NET and ORG.

However there is no such method (at least that I know of, obviously I am only human and has been proven wrong many times) of querying the country ccTLD registry to find out what are all the second domain names are.

by 3ple-chase

NSI Registry maintains the authoritative db for all TLD's.
To conduct a query on TLD's, do so against the or at nsiregistry.net/whois.
For ccTLD's, you must go to the country's Registry that maintains the ccTLD.
You can setup a tool to carry out the queries, but these are the steps to keep in mind before you proceed.

by smokeybear

Are there tools available out there that querries on all the used second level domain name in a ccTLD registry?

For example I nne to know a listing of Japan second level domain name such as ac.jp co.jp ne.jp ad.jp go.jp or.jp ed.jp gr.jp tokyo.jp yokohama.jp and etc, etc. I do not need to know a listing of 3rd level dom used such as aol.co.jp yahoo.co.jp etc etc. So all I need to know, yes there is a second level domain called co.jp and etc etc etc.

by 3ple-chase

I do not know of any program that could conduct queries that result in the vaiables that you are requesting.
However, there are zone files(TLD zone files) which contain all registered 2nd level domain names and properties which you can obtain afteryou apply for access through the Registry. You wll reqiure a powerful PC to download the files as they could contain up to 1Gig worth of information.
To answer the last question that accompanied one of the answers, it will be difficult to find out what domain names have totally expired either due to propagation of the zone files or their true status.
It is best to query through the registry db (whois)which is more on time, considering the file generation period.

by smokeybear

Yes, the zone files are available after one register for it, but I belive the data constitute of only .com .net .edu . org TLDs. I need all ccTLD too.

Sincerely Benny

by smokeybear

Yes you can get info on JP ccTLD on that site, however full documentation is not available on the all names od the second level domain name in JP. We know there is 8 generic 2nd level ccTLD in .JP plus 2566 others. There is no way anyone is going to querry 2566 of these domains manualy. The stats can be found here: http://www.nic.ad.jp/jpnic/statistics/Allocated_Domains

In this case it is easy to navigate, Japan apparently has provided an English version of the site. However if you at Branic NIC site, you will not be so lucky unless you are literate in Pourtugese. There are much more countries to be research besides those few mention in the above strings. Thus reading documentation will not an ideal path, plus I beleive some of these documentation are outdated or simply insufficient like Japan's case where they state they are 2566 2nd ccTLD domains that are additional to their 8 generic 2nd level ccTLD

So, the only other alternative is doing this automatically with some program that qurries on multiple ccTLD registires and spit out all variation of that ccTLD 2nd level domain name. Host count - by the RIPE-NCC host count program, is not an option in this case too. Sincerely Benny.

by burcjo

There is a built in feature of NSLOOKUP called LS that will give you all you need but you have to have admin priveleges to do that. By having admin priveleges to the TLD machine, the easier way would be to import the name file into a spreadsheet and run the query. Normal folks can't admin into a TLD and are unfortunately out of luck at this time.

by smokeybear

Yes indeed John, I guess I am out of luck. I was really hoping there is a way for non admin to tally up second level TLD in any TLD, not just a particular one.

I am trying to collect all the second level TLD from 20-30 most traffic TLD.

This discussion is closed to new replies.