geoip
geoip copied to clipboard
Add IPv6 City lookup function and expose netmask fields
These commits do a few things. I'd be happy to split them into separate PRs if you prefer.
Primarily:
- Adds the ability to look up City records in IPv6 databases
- Exposes the
netmaskfield ofGeoIPRecord - Exposes the
netmaskfield ofGeoIP. This is useful if we don't find a record and so can't use the netmask fromGeoIPRecord - Expose toggling the Teredo flag
- I added a bit more validation as well.
Thank you!
Ah, I see #29 also adds a way to do IPv6 lookups, though in a bit different way.