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

Peng Yonghua pyh at vodafonemail.de
Fri Apr 28 10:15:27 UTC 2017


Hello,

I have made an update in the original document,

Important updates:

If the method returns true, most time domain has got taken. But there 
are few ccTLDs which have wildcards setup, though this is really bad 
behavior, they break the rule here. For example, .fm domain has wildcard 
setup, queries to any non-exists .fm domain will get response of 
NOERROR, rather than NXDOMAIN.

If the method returns false, it may or may not indicate domain has not 
been taken. For example, when input yahoo.uk, it returns false, but you 
can't register yahoo.uk at all, because uk's registry keeps it but 
doesn't delegate DNS to it.

So using this tool for reference only, maybe as a fast filter before whois.


please check:
http://search.cpan.org/~pyh/Net-Domain-Registration-Check-0.03/lib/Net/Domain/Registration/Check.pm

Thanks for everybody's message.

regards.



More information about the dns-operations mailing list