Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IP address for testing MaxMind GeoIP DB

I'm experimenting with the MaxMind GeoIP (lite) DB.

Part of this is trying to see if I can make solid unittests.

For unittests I'd need to have some IP addresses I can rely on sending the same information always.

Most IP addresses will move around, and I'm assuming they're even more fluid in a GeoIP database, but are there some IP addresses I can reasonably rely on (for whatever reason)?

like image 968
Martijn Avatar asked May 12 '14 13:05

Martijn


2 Answers

Martijn,

You can use the Pingdom probe servers IP address as reference. It is physical server running 24x7 and it is rarely reallocated to other locations unless required by data center.

https://www.pingdom.com/rss/probe_servers.xml

like image 103
Michael C. Avatar answered Oct 12 '22 15:10

Michael C.


You could also use a test database from the API unit tests. These are small enough to just include in your repo.

like image 39
Greg Oschwald Avatar answered Oct 12 '22 14:10

Greg Oschwald