Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!194.109.133.86.MISMATCH!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.179 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.72; '*S*': 0.08; 'mrab': 0.05; '??,': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'dhcp,': 0.16; 'message-id:@4ax.com': 0.16; 'number?': 0.16; 'reboot': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'thereby': 0.16; 'sat,': 0.16; 'subject: ?': 0.16; 'obviously': 0.18; 'url:home': 0.24; 'server.': 0.24; '(or': 0.24; 'gets': 0.27; 'header:X-Complaints-To:1': 0.27; 'point': 0.28; 'fixed': 0.29; 'returned': 0.30; 'you?': 0.31; 'running': 0.33; 'level.': 0.33; 'connection': 0.35; 'but': 0.35; 'skip:> 10': 0.36; 'server': 0.38; 'somebody': 0.38; 'handle': 0.38; 'to:addr:python- list': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'according': 0.40; 'even': 0.60; 'most': 0.60; 'identify': 0.61; 'numbers': 0.61; 'back': 0.62; 'today': 0.64; 'our': 0.64; 'city': 0.66; 'side': 0.67; 'population': 0.68; 'jul': 0.74; 'heavy': 0.81; 'athens': 0.84; 'athens,': 0.84; 'dhcp': 0.84; 'lease': 0.84; 'expires': 0.91; 'received:108': 0.93; 'tied': 0.93; 'connection,': 0.95; 'tomorrow': 0.95; '2013': 0.98 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dennis Lee Bieber Subject: Re: GeoIP2 for retrieving city and region ? Date: Sat, 13 Jul 2013 12:54:47 -0400 Organization: IISS Elusive Unicorn References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: adsl-108-79-217-14.dsl.klmzmi.sbcglobal.net X-Newsreader: Forte Agent 6.00/32.1186 X-No-Archive: YES X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 39 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1373734493 news.xs4all.nl 15891 [2001:888:2000:d::a6]:47366 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:50599 On Sat, 13 Jul 2013 08:32:24 +0300, ??????? declaimed the following: >???? 13/7/2013 1:07 ??, ?/? MRAB ??????: >> >> Have you considered that your ISP might be in the same city as you? >> >> According to geoiptool, my ISP is near Leeds, UK, but the important >> point is that _I'm not_. > > >My ISP is in Athens and i live in Thessaloníki and it returned back >Thessaloníki not Athens, which it was accurate for me. > Are you paying for a fixed IP number? I suspect you are if you were running a world-accessible server. Obviously a fixed IP will be tied to a fixed connection and thereby to a fixed location which can be provided to a location database. But most of us have DHCP assigned IP numbers, which change everytime we reboot our connection (or even when the DHCP lease expires -- which may be daily). The IP number I have today may be given to somebody else on the other side of the state tomorrow (though I suspect AT&T [phone company] keeps a block of IP numbers per city -- but even my connection, AT&T Grand Rapids, gets a "domain name" that identifies as Kalamazoo, when it gets to my ISP Earthlink). For DHCP, the only thing you can be sure of is that an IP database can identify the location of the DHCP server that issues the IP number. In a heavy population area, that may mean a DHCP server (and block of IP numbers) may be down to the suburb level. Out in the country, one server may handle multiple small towns. -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/