Results 1 to 6 of 6

Thread: Whois Lookup of .co domain

  1. #1
    Join Date
    Apr 2008
    Location
    Kansas City
    Beans
    509

    Whois Lookup of .co domain

    I need to do a whois lookup of a .co domain from the command line.

    I installed "whois" and can do lookups on .com domains and others, but I need to get it working with .co

    Anyone know a server that will let me query .co domains?

  2. #2
    Join Date
    Jun 2011
    Location
    The Shadow Gallery
    Beans
    6,744

    Re: Whois Lookup of .co domain

    Quote Originally Posted by Kissell View Post
    I need to do a whois lookup of a .co domain from the command line.

    I installed "whois" and can do lookups on .com domains and others, but I need to get it working with .co

    Anyone know a server that will let me query .co domains?
    http://whois.marcaria.com/domain-who...bia-domain-CO/
    Backtrack - Giving machine guns to monkeys since 2006
    Kali-Linux - Adding a grenade launcher to the machine guns since 2013

  3. #3
    Join Date
    Apr 2008
    Location
    Kansas City
    Beans
    509

    Re: Whois Lookup of .co domain

    Thanks, but that's a web interface.

    I need to be able to query the whois information from a bash script.

  4. #4
    Join Date
    Jun 2011
    Location
    The Shadow Gallery
    Beans
    6,744

    Re: Whois Lookup of .co domain

    Quote Originally Posted by Kissell View Post
    Thanks, but that's a web interface.

    I need to be able to query the whois information from a bash script.
    you may need to edit your whois.conf

    http://manpages.ubuntu.com/manpages/...1/whois.1.html

    by default it uses networksoultions and ARIN via internic

    ARIN doesnt list South and Latin America, there are 5 major registrars worldwide, APNIC, ARIN, RIPE NCC, Lacnic, and AFRINIC

    You could add aliases to your bash profile to allow you do it from command line if you wanted to, allowing you to choose what whois server you wanted, there are many

    Edit: here is a good link providing some good alisases for different servers http://answers.oreilly.com/topic/408...ts-many-forms/
    Last edited by haqking; May 10th, 2013 at 01:41 AM.
    Backtrack - Giving machine guns to monkeys since 2006
    Kali-Linux - Adding a grenade launcher to the machine guns since 2013

  5. #5
    Join Date
    Apr 2008
    Location
    Kansas City
    Beans
    509

    Re: Whois Lookup of .co domain

    hmm... it was a script issue... I just took out the unnecessary explicit declaration of the whois server and everything works fine now.

  6. #6
    Join Date
    Jun 2011
    Location
    The Shadow Gallery
    Beans
    6,744

    Re: Whois Lookup of .co domain

    Quote Originally Posted by Kissell View Post
    hmm... it was a script issue... I just took out the unnecessary explicit declaration of the whois server and everything works fine now.
    that sounds about right, an explicit declaration will limit the results.

    There are many whois servers speialising in different domains via the 5 different registrars.

    Glad you got it sorted.

    Peace
    Backtrack - Giving machine guns to monkeys since 2006
    Kali-Linux - Adding a grenade launcher to the machine guns since 2013

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •