Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Checking a domain availability
#1
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 Smile

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

[Image: index.php?action=dlattach;topic=4891.0;attach=615;image]

Unregistered domain: http://whois.domaintools.com/iiinnnvvvee...eeeddd.com

[Image: index.php?action=dlattach;topic=4891.0;attach=613;image]

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/iiinnnvvvee...eeeddd.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? Smile

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



Attached Files


.png   notregistered.png (Size: 10.78 KB / Downloads: 832)
.png   registered.png (Size: 34.41 KB / Downloads: 887)
 Reply
#2
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
 Reply
#3
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 [email protected] 1600 Amphitheatre Parkway
        Mountain View CA 94043
        US
        [email protected] +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
        [email protected] +1.6506234000 Fax: +1.6506188571
    Technical Contact, Zone Contact:
        DNS Admin
        Google Inc.
        2400 E. Bayshore Pkwy
        Mountain View CA 94043
        US
        [email protected] +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


 Reply
#4
(12-21-2011, 01:42 PM)alumbreras link Wrote: 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 Smile
 Reply
#5
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) [email protected]
Reflex Publishing Inc.
301 W. Platt Street #510
Tampa
FL
33606
US
Administrative Contact [4462]:
Internet Admin (not for sale) [email protected]
Reflex Publishing Inc.
301 W. Platt Street #510
Tampa
FL
33606
US
Phone: +1.8133544500
Billing Contact [4462]:
Internet Admin (not for sale) [email protected]
Reflex Publishing Inc.
301 W. Platt Street #510
Tampa
FL
33606
US
Phone: +1.8133544500
Technical Contact [4462]:
Internet Admin (not for sale) [email protected]
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.
 Reply
#6
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 Smile
 Reply
#7
There are many site available online for checking the domain availability, You can use http://www.checkdomain.com, instantdomainsearch.com , whois.net etc.
 Reply


Users browsing this thread: 1 Guest(s)


(c) 2006-2018 Artica Soluciones Tecnológicas. Contents of this wiki are under Create Common Attribution v3 licence. | pandorafms.com | pandorafms.org

Theme © MyBB Themes