Skip to content

Upgrade DB-IP Country Lite database to 2026-10 - #10

Merged
lohanidamodar merged 1 commit into
mainfrom
chore/upgrade-dbip-country-lite-2026-10
Oct 5, 2026
Merged

lohanidamodar merged 1 commit into
mainfrom
chore/upgrade-dbip-country-lite-2026-10

Conversation

@lohanidamodar

Copy link
Copy Markdown
Member

What does this PR do?

Bumps the bundled free-tier DB-IP IP-to-Country Lite database from the 2026-08 release to the latest available 2026-10 release, and updates the default geodb path in Server.php accordingly.

Monthly refresh keeps IP-to-country lookups accurate as address blocks get reallocated. 2026-10 is the newest release published by DB-IP.

Test Plan

Metadata of the new file, parsed from the MMDB metadata section:

2026-08 (old) 2026-10 (new)
database_type DBIP-Country-Lite DBIP-Country-Lite
binary format 2.0 2.0
build date 2026-08-01 2026-10-01
node count 1,372,441 1,383,101
file size 8,284,207 bytes 8,348,509 bytes

Record shape is unchanged (country.iso_code, country.names, continent.code, continent.names), so Get.php needs no changes.

Spot-checked the lookups the E2E suite depends on against the new database:

  • 8.8.8.8 → US / NA
  • 2001:4860:4860::8888 → CA / NA
  • 192.0.2.1 (RFC 5737 TEST-NET) → no record, so the handler returns --
  • 1.1.1.1 → AU / OC, 91.198.174.192 → NL / EU

The 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.

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)
@hansi-codes

hansi-codes Bot commented Oct 5, 2026

Copy link
Copy Markdown

🟢 Tier S · Ready to merge

The default path matches the bundled asset, Docker includes it, and existing E2E tests cover lookup and unknown-address behavior.

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.

Verdict New comments Fixed Still open
✅ Approved 0 0 0
📂 Walkthrough · 2
File Change
src/Geo/Server/Server.php Points the default geodb resource at the October 2026 database.
app/assets/dbip/dbip-country-lite-2026-10.mmdb Bundles the renamed/refreshed GeoIP database asset.

Reviewed 0525215 · Details · Comment @hansi-codes review to re-run, or mention @hansi-codes with a question.

@hansi-codes hansi-codes Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Tier S · Looks good to merge. Summary

@lohanidamodar
lohanidamodar merged commit 230624a into main Oct 5, 2026
4 checks passed
@lohanidamodar
lohanidamodar deleted the chore/upgrade-dbip-country-lite-2026-10 branch October 5, 2026 01:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant