News for hackers. Stuff that matters.
Re:My Dip Into Domaining by soult on Thursday June 03, 2010 @09:50PM (#1403261)
Use DNS. If a.gtld-servers.net (or whatever server the registry uses) doesn't have NS records for the domain, it doesn't exist.

Be careful, some registries don't require that you set a nameserver (most do). For those you will have to fall back to whois.

Of course there are internal APIs for registrars to use, but as a small fish you don't get access to them.

Re:My Dip Into Domaining by kree10 on Friday June 04, 2010 @08:47AM (#1404126)
As long as you're not dealing with a TLD with a wildcard (like .ws) you should be able to just check for NXDOMAIN status on your NS queries.