Although MaxMind does not provide a writer for the legacy database format, it does provide a writer for the format used by GeoLite2 / GeoIP2:
https://github.com/maxmind/MaxMind-DB-Writer-perl There is also a specification at: https://github.com/maxmind/MaxMind-DB/blob/master/MaxMind-DB-spec.md Greg