geoip icon indicating copy to clipboard operation
geoip copied to clipboard

Add IPv6 City lookup function and expose netmask fields

Open horgh opened this issue 8 years ago • 1 comments

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 netmask field of GeoIPRecord
  • Exposes the netmask field of GeoIP. This is useful if we don't find a record and so can't use the netmask from GeoIPRecord
  • Expose toggling the Teredo flag
  • I added a bit more validation as well.

Thank you!

horgh avatar Jan 04 '18 00:01 horgh

Ah, I see #29 also adds a way to do IPv6 lookups, though in a bit different way.

horgh avatar Jan 04 '18 01:01 horgh