checking if domain name is available

Posted on 2007-08-10
Last Modified: 2010-04-16
When you try register a new domain name with any hosting provider, they check if the domain name is available first.  

My question is how do they do this?  What database do they check too see if the domain name is already registered or not?

Question by:ellandrd
    LVL 48

    Accepted Solution

    You can use the function to check for a domain, if the query fails, the domain does not exists.
    LVL 5

    Assisted Solution

    As per hernst42's comment - the way to check a domains existence (or not) is to check if it has a DNS record (the record that points to where the domain is 'parked'). If that does exists then the domain (probably) isn't available. The other way is to do a whois lookup on the domain and see if it has registrants details against it (some domains may have DNS records even while pending deletion, a whois lookup will show up-to-date information on the domain status)

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
    Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
    Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now