rogerhe

rogerhe / domain_name_availability / 0.3.0

README.md

Domain name availability


Check a few hundred top level domain names (like .com, .net, .museum and so on) at once against a single given name (like 'google' or 'algorithmia') by checking the DNS records of the domain names. 

You can choose to pass an array of top level domains (com, net, org, museum, co.uk and so on) which will be checked. If you do not give a list then a list of around 300 domain names will be used.  

The domain names will be tested by checking if a nameserver (DNS) responds to the domain name. This is a good indicator of domain name availability, however it is not certain that the domain name is actually available for registration when the DNS does not respond. 


Input

{ "name": "google", "tlds": ["com", "co.uk","museum"]}

This will check the availability of 'google.com', 'google.co.uk' and 'google.museum'.

{ "name": "google"}

This will check the availability of 'google.com' and almost every other top level domain available (over 300). This can take quite some time to run (up to a few minutes).

This is the list of default top level domains:

    ["ac","academy","accountant","accountants","actor","adult","ae","af","ag","agency","am","amsterdam","apartments","asia","associates","at","auction","audio","band","bar","bargains","bayern","be","beer","bet","bid","bike","biz","blackfriday","blog","blue","boutique","brussels","build","builders","business","buzz","bz","cab","cafe","cam","camera","camp","capetown","capital","cards","care","career","careers","casa","cash","casino","catering","cc","center","ch","chat","cheap","christmas","church","city","cl","claims","cleaning","click","clinic","clothing","cloud","club","cn","co","coat","coil","coin","conz","couk","coach","codes","coffee","college","com","comes","commx","compl","comtw","comvc","community","company","computer","condos","construction","consulting","contractors","cooking","cool","country","coupons","courses","credit","creditcard","cricket","cruises","cx","cymru","cz","dance","date","dating","de","deals","degree","delivery","democrat","dental","desi","design","diamonds","diet","digital","direct","directory","discount","dog","domains","download","durban","earth","ec","education","email","energy","engineer","engineering","enterprises","equipment","es","estate","eu","eus","events","exchange","expert","exposed","express","fail","faith","family","fans","farm","fashion","fi","finance","financial","fish","fishing","fit","fitness","flights","florist","flowers","fm","football","forsale","foundation","fr","frl","fund","furniture","futbol","fyi","gal","gallery","game","games","garden","gd","gent","gg","gift","gifts","gives","gl","glass","global","gmbh","gold","golf","gr","graphics","gratis","green","gripe","group","gs","guide","guitars","guru","gy","haus","healthcare","help","hiphop","hn","hockey","holdings","holiday","host","hosting","house","how","ht","im","immo","immobilien","in","industries","info","ink","institute","insure","international","investments","io","irish","ist","istanbul","it","je","jetzt","jewelry","joburg","jp","juegos","kaufen","kim","kitchen","kr","la","land","lat","lc","lease","legal","lgbt","li","life","lighting","limited","limo","link","live","loan","loans","lol","london","love","ltd","lu","maison","management","market","marketing","markets","mba","me","meuk","media","memorial","men","menu","mg","miami","ml","mn","mobi","moda","moe","moi","mom","money","mortgage","movie","ms","mu","mx","name","net","netnf","netnz","netpl","network","news","nf","ninja","nl","nu","nz","okinawa","one","onl","online","ooo","org","orgil","orglc","orgnz","orguk","osaka","partners","parts","party","pe","pet","ph","photo","photography","photos","pics","pictures","pink","pizza","pk","pl","place","plumbing","plus","poker","porn","press","productions","promo","properties","property","ps","pub","qpon","racing","recipes","red","rehab","reisen","rent","rentals","repair","report","republican","rest","restaurant","review","reviews","rip","rocks","rodeo","run","saarland","sale","salon","sarl","sc","school","schule","science","scot","services","sex","sexy","sg","sh","shiksha","shoes","shop","shopping","show","si","singles","site","sk","ski","soccer","social","software","solar","solutions","soy","space","store","stream","studio","study","style","sucks","supplies","supply","support","surf","surgery","sx","sydney","systems","taipei","tattoo","tax","taxi","team","tech","technology","tennis","theater","tienda","tips","tires","tirol","tk","tl","today","tokyo","tools","top","tours","town","toys","trade","trading","training","tube","tv","tw","uk","university","uno","us","vacations","vc","vegas","ventures","vg","viajes","video","villas","vin","vip","vision","vlaanderen","vodka","vote","voting","voto","voyage","wales","watch","webcam","website","wedding","whoswho","wiki","win","wine","work","works","world","ws","wtf","xyz","yoga","yokohama","zone"]
.