# GeoIP support for other geo databases?

**URL:** <https://www.ruby-forum.com/t/geoip-support-for-other-geo-databases/200296>\
**Category:** NGINX\
**Created:** [December 8, 2010, 6:06pm UTC](https://www.ruby-forum.com/t/geoip-support-for-other-geo-databases/200296 "2010-12-08T18:06:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/77aa72/32.png) [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Post date:** [December 8, 2010, 6:06pm UTC](https://www.ruby-forum.com/t/geoip-support-for-other-geo-databases/200296/1 "2010-12-08T18:06:37Z")

</div>

Hi,

I am using the GeoIP module with the MaxMind database. The module  
works great and does exactly what I need, but I find the quality of the  
data from MaxMind to be lacking. For example, even the paid MaxMind  
database does not have ZIP codes for many of the IPs here in the US.  
For my application, a valid ZIP code is very desirable.

Has anyone looked at extending the GeoIP module to support other geo  
database providers like Digital Element? Only one database is required  
at a time, obviously, but it would be desirable to have a choice of  
database providers. I don’t mind digging into the GeoIP code, but  
thought I would ask first.

Cheers,

Dean

Posted at Nginx Forum:

> **[GeoIP support for other geo databases?](https://forum.nginx.org/read.php?2,156872,156872#msg-156872)**
>
> Hi, I am using the GeoIP module with the MaxMind database. The module works great and does exactly what I need, but I find the quality of the data from MaxMind to be lacking. For example, even the paid MaxMind database does not have ZIP codes for...

---

<div class="post-metadata">

**Author:** ![dbanks](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c68b51/32.png) [@dbanks](https://www.ruby-forum.com/u/dbanks)\
**Post date:** [December 8, 2010, 6:49pm UTC](https://www.ruby-forum.com/t/geoip-support-for-other-geo-databases/200296/2 "2010-12-08T18:49:12Z")

</div>

Hello!

On Wed, Dec 08, 2010 at 12:05:49PM -0500, dbanks wrote:

> at a time, obviously, but it would be desirable to have a choice of  
> database providers. I don’t mind digging into the GeoIP code, but  
> thought I would ask first.

You may import any database you want with geo module. Geoip  
module is specifically to work with MaxMind’s GeoIP library (and  
you’ll unlikely will be able to produce correct binary database  
files for it…).

Maxim D.
