New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

country_code_by_name_v6 does not work if hostname doesn't have an IPv6 address #8

Closed
csware opened this Issue May 19, 2014 · 1 comment

Comments

Projects
None yet
2 participants
@csware

csware commented May 19, 2014

country_code_by_name_v6 does not work if hostname doesn't have an IPv6 address. if this is the case the IPv4 address should be transparently converted to an IPv6 address (e.g. "::ffff:IPv4" in order to make the lookup work as expected).

@oschwald

This comment has been minimized.

Member

oschwald commented May 19, 2014

Thanks for the suggestion. I would suggest taking a look at our GeoIP2 API, which automatically handles IPv4 addresses in the way that you describe.

@oschwald oschwald closed this Sep 30, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment