Upgrade DB-IP Country Lite database to 2026-10 - #10
Merged
Merged
Conversation
Bump the bundled free-tier DB-IP IP-to-Country Lite database from the 2026-08 release to the latest available 2026-10 release, and update the default geodb path accordingly. Verified the new file is a valid MMDB (binary format 2.0, database_type DBIP-Country-Lite, build date 2026-10-01, 1383101 nodes) and that the records the E2E suite relies on still behave as expected: 8.8.8.8 and 2001:4860:4860::8888 resolve, 192.0.2.1 (TEST-NET) does not. Source: https://db-ip.com/db/download/ip-to-country (CC-BY-4.0)
🟢 Tier S · Ready to merge
Updates the default GeoIP database path from the August 2026 release to October 2026 and bundles the corresponding MMDB asset. The environment override and lookup handler remain unchanged.
📂 Walkthrough · 2
Reviewed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Bumps the bundled free-tier DB-IP IP-to-Country Lite database from the
2026-08release to the latest available2026-10release, and updates the defaultgeodbpath inServer.phpaccordingly.Monthly refresh keeps IP-to-country lookups accurate as address blocks get reallocated.
2026-10is the newest release published by DB-IP.Test Plan
Metadata of the new file, parsed from the MMDB metadata section:
database_typeRecord shape is unchanged (
country.iso_code,country.names,continent.code,continent.names), soGet.phpneeds no changes.Spot-checked the lookups the E2E suite depends on against the new database:
8.8.8.8→US/NA2001:4860:4860::8888→CA/NA192.0.2.1(RFC 5737 TEST-NET) → no record, so the handler returns--1.1.1.1→AU/OC,91.198.174.192→NL/EUThe E2E workflow on this PR exercises the same paths through the running server.
Related PRs and Issues
Follows the same monthly refresh as #8.
Have you read the Contributing Guidelines on issues?
Yes.