I’d like to present the users of a Web app with a form where they type in a prospective domain name, and then using JavaScript the client looks up whether it’s available.
Is there a way to do that without involving my own host machine? Like sending an AJAX request from the user’s browser to some Web service that looks up domains? Does such a service exist?
There are a few domain lookup API services out there (e.g., http://www.dynadot.com/domain/api2.html), although I don’t know any that support callbacks. I haven’t read much of the documentation, either.
From the surface, it looks like you’d have to make the request server-side (using PHP or whatever you use) and return the results back to the user (AJAX most likely). It’s not completely client-side (e.g., JSONP), but it should be good enough.