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)?
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
You could also use a test database from the API unit tests. These are small enough to just include in your repo.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With