just checking the return code on a GET request. src is on github if you're curious. You're right though, looks like the domain lookups need a bit of work.
You should do a "whois" lookup for the domain. The return code for a 'get' request on the domain has no bearing on its availability -- many parked domains do not even have DNS configured, let alone HTTP.