[dns-operations] check if a domain has been registered via DNS

Peng Yonghua pyh at vodafonemail.de
Thu Apr 27 08:13:36 UTC 2017


for domain registration stuff we generally query the info via whois.
But whois is slow.
I wrote a simple module to query the domain via DNS system, more 
exactly, query the domain from its parent nameservers.
for example, given yahoo.com, I check the domain name from com's 
if rcode is NXDOMAIN then domain not taken. if rcode is NOERROR then 
domain has taken.

I found the querying is much faster than whois.  module URL:

How do you think of it? thanks.

More information about the dns-operations mailing list