Using Node.js, how can I check whether a domain name is registered?

Joe D picture Joe D · Feb 17, 2011 · Viewed 10.3k times · Source

I'm building a simple webapp to teach myself node.js, and in it I need to check whether a certain domain name specified by the user is registered. I'm not really sure how to go about this and I'd appreciate it if anybody could enlighten me.

Answer

rsp picture rsp · Feb 17, 2011

Take a look at this article by Matt Brubeck:

http://limpet.net/mbrubeck/2010/01/13/si-unit-domains-node-js.html

There is a Node.js script that does exactly that.