2016#apricot2016
IP based Geolocation and
Whois database
Vivek Nigam
vivek@apnic.net
2016#apricot2016
Contents
•  Geolocation issues reported by members
•  Geographical attributes in Whois
•  What you need to know?
•  APNIC “geohelp” document
2
2016#apricot2016
Sources of IP geolocation data
•  Routing system
•  Mobile device GPS
•  Other ISP data
•  Other data mining
•  IP address Registry data
3
2016#apricot2016
IP geolocation complaints are on the rise
4
2016#apricot2016
Incorrect IP geolocation
“When we are downloading from content distribution
networks, it is determining that our location is from Australia,
in fact, speedtest.net thinks we are in Adelaide.
Is there a way to resolve this geolocation issue so we appear
from Manila.”
5
2016#apricot2016
Accuracy of IP geolocation
“We had noticed that the Geolocation displayed on
www.ip2location.com (as well as other sites) mentioned
Burwood, New South Wales. However this should actually be
Burwood East, Victoria.
I was wondering what the process to have that changed
would be?”
6
2016#apricot2016
No IP geolocation
“We're having issues with our address space on the Google
Play store. It seems the range location can't be identified.
Can you advise me if there's anything missing from the
database that could be causing this?”
7
2016#apricot2016
IP geolocation based filtering
“We use the IP addresses to send emails (on behalf of our
customers) and some recipients reject the emails simply
because they have come from a NZ IP address.
We'd like to change the address in the WHOIS to a USA
address. Can we do that?”
8
2016#apricot2016
IP geolocation based filtering
9
2016#apricot2016
Customer complaints
“Our users are constantly reporting geolocation issues with
Gumtree and Sony PSN sites.
Due to this we have to tell the users to keep on turning off /
on their router to get an IP address NOT in affected the 43
range.”
10
2016#apricot2016
Geographical attributes in Whois
•  Attributes of interest
–  Country:
–  Geoloc:
–  Descr:
•  Conventions may not be clear
–  APNIC delegations: Objects do have consistent meaning
–  Other delegations: No enforcement of meaning
11
2016#apricot2016
inet6num objects
12
2016#apricot2016
Public stats file
13
ftp://ftp.apnic.net/public/stats/apnic/delegated-apnic-latest
2016#apricot2016
What you need to know?
14
2016#apricot2016
APNIC delegations
•  For records maintained by APNIC, we record the economy
(ISO-3166) where your organization is registered.
–  Portable inetnum and inet6num objects
–  autnum and person objects
–  Country: attribute only
–  Geoloc: not used for delegations to members
•  Same data exported to public stats file
15
2016#apricot2016
Member delegations
•  Members can register customer assignments to indicate
the location where their network is deployed
–  Country: might indicate the economy where the block is used
–  Geoloc: might give lat/long where the block is used
•  APNIC does not enforce convention or check correctness
–  These attributes are therefore not reliable
–  They could be deliberately misleading
16
2016#apricot2016
Case Study
Effects on Geolocation after IP address
transfers
17
2016#apricot2016
Case Study
18
June 2015 Resources transferred from Australian member
to New Zealand member
Member reported their IP geolocation changed
from Australia to New Zealand
Identified the Geolocation provider was using
country attribute of APNIC delegation
15 Oct 2015
26 Oct 2015
2016#apricot2016
Observations
19
•  Confusion about what APNIC registry data is used for
geolocation, if any.
•  How frequently is this data updated by geoloc providers
•  Impact of geoloc attribute. Is it widely used?
•  APNIC is often asked for advice and assistance
2016#apricot2016
APNIC “geohelp” document
•  Scope
–  Research on how IP address based geolocation information is
gathered and consumed, and by whom
–  Understand how APNIC data is used in building geolocation
information
•  Objective
–  Develop a clear guidance to those seeking APNIC help with
geolocation
–  Provide support in resolving problems
20
2016#apricot2016
Questions?
•  What is APNIC’s responsibility?
•  What is APNIC member’s responsibility?
•  What’s next?
21
2016#apricot2016
22
Feedback or Suggestions?

IP based Geolocation and Whois database