Hello Guest

Author Topic: Checking a domain availability  (Read 9394 times)

0 Members and 1 Guest are viewing this topic.

Offline zarzuelo

  • Full Member
  • ***
  • Posts: 45
  • Karma: 1
    • View Profile
Checking a domain availability
« on: December 14, 2011, 12:59:42 AM »
Hi again!

I had a new idea, imagine that you want to buy a domain that is busy but is near to expire. Could be great to check the availability of the domain.

You can do it in many ways with Pandora FMS, I will show one of them using Goliat, if you know any more methods, show us :)

There is a Website that offers whois service and the domain can be passed through the URL. It's www.domaintools.com.

We're going to check to domains, only one  of them is registered.

Registered domain: http://google.com
Unregistered domain: http://iiinnnvvveeennnttteeeddd.com

We pass the domains to the whois tool with the following result:

Registered domain: http://whois.domaintools.com/google.com


Unregistered domain: http://whois.domaintools.com/iiinnnvvveeennnttteeeddd.com


We can parse the string: "This domain name is not registered" in a Web server module and when the domain will be free, the module turn from critical to normal status. Then we can configure an alarm that send us an email, for example.

The process to create this module is the following:

  • Create a "Web server module" of the type "Remote HTTP module to check server response"
  • Fill the Web checks box with the following data:
    task_begin
    get  http://whois.domaintools.com/iiinnnvvveeennnttteeeddd.com
    check_string This domain name is not registered
    task_end


    Changing the domain for that you want to monitor.

Simple!

This is not the best method because we depend on an external tool, and if domaintools.com change their system, our module could fail.

Any better idea? :)

More info about Goliat: http://www.openideas.info/wiki/index.php?title=Goliat


Offline zarzuelo

  • Full Member
  • ***
  • Posts: 45
  • Karma: 1
    • View Profile
Re: Checking a domain availability
« Reply #1 on: December 20, 2011, 11:45:15 PM »
Another idea is to parse the Status when it's not free to know if the domain is Registered, Locked or in a Redemption period

Offline alumbreras

  • Sr. Member
  • ****
  • Posts: 165
  • Karma: 5
    • View Profile
Re: Checking a domain availability
« Reply #2 on: December 21, 2011, 05:42:08 AM »
Hi Zarzuelo,

You can use whoiscl. a utility for command line in windows. ( There are an utility for windows too )

http://www.nirsoft.net/utils/whoiscl.html

Only you have to do is to parse the result with the grep command.

-------------------------------------------------------------------------------------

C:\Temp\whoiscl>WhoisCL.exe -r google.com

WHOIS Server: whois.markmonitor.com

Registrant:
        Dns Admin
        Google Inc.
        Please contact contact-admin@google.com 1600 Amphitheatre Parkway
         Mountain View CA 94043
        US
        dns-admin@google.com +1.6502530000 Fax: +1.6506188571

    Domain Name: google.com

        Registrar Name: Markmonitor.com
        Registrar Whois: whois.markmonitor.com
        Registrar Homepage: http://www.markmonitor.com

    Administrative Contact:
        DNS Admin
        Google Inc.
        1600 Amphitheatre Parkway
         Mountain View CA 94043
        US
        dns-admin@google.com +1.6506234000 Fax: +1.6506188571
    Technical Contact, Zone Contact:
        DNS Admin
        Google Inc.
        2400 E. Bayshore Pkwy
         Mountain View CA 94043
        US
        dns-admin@google.com +1.6503300100 Fax: +1.6506181499

    Created on..............: 1997-09-15.
    Expires on..............: 2020-09-13.
    Record last updated on..: 2011-07-20.

    Domain servers in listed order:

    ns4.google.com
    ns3.google.com
    ns2.google.com
    ns1.google.com



Offline zarzuelo

  • Full Member
  • ***
  • Posts: 45
  • Karma: 1
    • View Profile
Re: Checking a domain availability
« Reply #3 on: December 27, 2011, 12:36:26 AM »
Hi Zarzuelo,

You can use whoiscl. a utility for command line in windows. ( There are an utility for windows too )

http://www.nirsoft.net/utils/whoiscl.html

Only you have to do is to parse the result with the grep command.

-------------------------------------------------------------------------------------

C:\Temp\whoiscl>WhoisCL.exe -r google.com


Yeah! This is a great method to do it from Windows. Could be used in Pandora FMS from configuring a Win Agent Plugin, in example.

Thank you for the contribution :)

Offline jelly1991

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: Checking a domain availability
« Reply #4 on: January 09, 2013, 06:23:47 PM »
Nice idea zarzuelo,
It's informative.Here i want to share my own experience.
Nowadays there are lot of sites available to check the availability of domain name for free.Recently i found this site Whoisxy.com through Google search
Here i checked the domain availability for toyshop.com
My results are,
Whois Search results for Domain Name TOYSHOP.COM


WHOIS Server: whois.moniker.com
Domain Name: TOYSHOP.COM
Registrar: MONIKER
Registrant [4462]:
Internet Admin (not for sale) admin@reflex.com
Reflex Publishing Inc.
301 W. Platt Street #510
Tampa
FL
33606
US
Administrative Contact [4462]:
Internet Admin (not for sale) admin@reflex.com
Reflex Publishing Inc.
301 W. Platt Street #510
Tampa
FL
33606
US
Phone: +1.8133544500
Billing Contact [4462]:
Internet Admin (not for sale) admin@reflex.com
Reflex Publishing Inc.
301 W. Platt Street #510
Tampa
FL
33606
US
Phone: +1.8133544500
Technical Contact [4462]:
Internet Admin (not for sale) admin@reflex.com
Reflex Publishing Inc.
301 W. Platt Street #510
Tampa
FL
33606
US
Phone: +1.8133544500
Domain servers in listed order:
NS1.DIGIMEDIA.COM
NS2.DIGIMEDIA.COM
NS3.DIGIMEDIA.COM
Record created on: 1999-03-22 00:00:00.0
Database last updated on: 2012-11-26 18:51:10.307
Domain Expires on: 2020-03-22 00:00:00.0
I like their services.

Offline zarzuelo

  • Full Member
  • ***
  • Posts: 45
  • Karma: 1
    • View Profile
Re: Checking a domain availability
« Reply #5 on: January 11, 2013, 12:50:36 AM »
Hi jelly1991,

Good service to check domains too. I've tried to check a domain in this site setting the domain directly in the URL (to use it from a external script) but I think that is not possible. Is necessary a POST call.

Good feedback :)

Offline BrookDle

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Re: Checking a domain availability
« Reply #6 on: May 02, 2013, 12:27:45 AM »
There are many site available online for checking the domain availability, You can use www.checkdomain.com, instantdomainsearch.com , whois.net etc.