Professional Web Applications Themes

Lookup Country by IP Address - PERL Miscellaneous

143.182.124.4 [Shameer Balasingam] wrote: > > There is a database to lookup all IP address space to country. Pretty > cool... Alternatively try this at the shell prompt: whois 207.46.134.190 | fgrep -i country...

  1. #1

    Default Re: Lookup Country by IP Address

    143.182.124.4 [Shameer Balasingam] wrote:
    >
    > There is a database to lookup all IP address space to country. Pretty
    > cool...
    Alternatively try this at the shell prompt:

    whois 207.46.134.190 | fgrep -i country

    Nigel Horne Guest

  2. #2

    Default Re: Lookup Country by IP Address

    As it's a perl group I should have given the Perl route:

    #!/usr/bin/perl -wT

    use strict;
    use Net::Whois::IANA;

    my $ip = '212.159.106.41'; # Insert an IP address here

    print new Net::Whois::IANA->whois_query(-ip=>$ip)->country() . "\n";


    Nigel Horne Guest

  3. #3

    Default Lookup Country by IP Address

    I want to know if there is a free service or database available from where I
    can get the country information if I pass it the IP address. If been to a
    site where you can do a free lookup, but I want to automate it.

    Your help or ideas will be greatly appreciated

    Cheers
    Charles


    www Guest

  4. #4

    Default Re: Lookup Country by IP Address

    Try [url]http://www.maxmind.com[/url]


    "www" <charlespaltrack.co.za> wrote in message
    news:3f4eef99$0$64725hades.is.co.za...
    > I want to know if there is a free service or database available from where
    I
    > can get the country information if I pass it the IP address. If been to a
    > site where you can do a free lookup, but I want to automate it.
    >
    > Your help or ideas will be greatly appreciated
    >
    > Cheers
    > Charles
    >
    >

    Hexagon Guest

  5. #5

    Default Re: Lookup Country by IP Address

    "Hexagon" <spam1dwstech.com> wrote in message news:<QOF3b.87$cg.9775news02.tsnz.net>...
    > Try [url]http://www.maxmind.com[/url]
    >
    >
    > "www" <charlespaltrack.co.za> wrote in message
    > news:3f4eef99$0$64725hades.is.co.za...
    > > I want to know if there is a free service or database available from where
    > I
    > > can get the country information if I pass it the IP address. If been to a
    > > site where you can do a free lookup, but I want to automate it.
    > >
    > > Your help or ideas will be greatly appreciated
    > >
    > > Cheers
    > > Charles
    > >
    > >
    GeoDirection at [url]http://www.geobytes.com/GeoDirection.htm[/url] redirects
    browsers based on their geographic location and also can be used to
    insert localized geographic content into a web page.

    Kind Regards
    Russell Turner
    Russell Turner Guest

  6. #6

    Default Re: Lookup Country by IP Address

    Try [url]http://www.ip2location.com[/url]

    [email]russgeobytes.com[/email] (Russell Turner) wrote in message news:<c1874a8a.0309290220.3d812e99posting.google. com>...
    > "Hexagon" <spam1dwstech.com> wrote in message news:<QOF3b.87$cg.9775news02.tsnz.net>...
    > > Try [url]http://www.maxmind.com[/url]
    > >
    > >
    > > "www" <charlespaltrack.co.za> wrote in message
    > > news:3f4eef99$0$64725hades.is.co.za...
    > > > I want to know if there is a free service or database available from where
    > I
    > > > can get the country information if I pass it the IP address. If been to a
    > > > site where you can do a free lookup, but I want to automate it.
    > > >
    > > > Your help or ideas will be greatly appreciated
    > > >
    > > > Cheers
    > > > Charles
    > > >
    > > >
    >
    > GeoDirection at [url]http://www.geobytes.com/GeoDirection.htm[/url] redirects
    > browsers based on their geographic location and also can be used to
    > insert localized geographic content into a web page.
    >
    > Kind Regards
    > Russell Turner
    MK Wong Guest

  7. #7

    Default Re: Lookup Country by IP Address

    "Russell Turner" <russgeobytes.com> a écrit dans le message de
    news:c1874a8a.0309290220.3d812e99posting.google.c om...
    [...]
    > GeoDirection at [url]http://www.geobytes.com/GeoDirection.htm[/url] redirects
    > browsers based on their geographic location and also can be used to
    > insert localized geographic content into a web page.
    Hem... don't want to throw oil were water is needed but it seems maxmind.com is
    more accurate. I'm surprised to discover I'm living in Algeria :-D. I'm Belgian
    and sure I'm not spoofing anyone's identity. GeoRedirect and ip2location are
    both wrong.

    Vince C.


    Vince C. Guest

  8. #8

    Default Re: Lookup Country by IP Address

    want the ip address of your domain then visit ip-details.com .here they provide domain host search tool which one entering the domain name display the ip address of the particular domain . i hope it will be helpful to you...Using domain name we can find the ip address of domain .
    snipers is offline Junior Member
    Join Date
    Aug 2012
    Location
    india
    Posts
    2

Similar Threads

  1. Global Address/Phone/SSN[Country ID]
    By Kamaluokeakua in forum ASP.NET Building Controls
    Replies: 4
    Last Post: October 2nd, 12:59 PM
  2. [OT] Utility to lookup hosts on an IP address
    By Hall Stevenson in forum Debian
    Replies: 4
    Last Post: August 3rd, 06:50 PM
  3. [PHP] Mac Address Lookup
    By bbonkosk@tampabay.rr.com in forum PHP Development
    Replies: 1
    Last Post: July 18th, 04:48 PM
  4. Mac Address Lookup
    By Ashwin Kutty in forum PHP Development
    Replies: 1
    Last Post: July 18th, 04:28 PM
  5. Address book and maps: set country?
    By Ian McCall in forum Mac Applications & Software
    Replies: 1
    Last Post: July 1st, 01:15 AM

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
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139