Skip to content
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

Error fetching databases when behind ipv6. #130

Closed
turbo opened this issue Jun 26, 2015 · 3 comments
Closed

Error fetching databases when behind ipv6. #130

turbo opened this issue Jun 26, 2015 · 3 comments

Comments

@turbo
Copy link

turbo commented Jun 26, 2015

Installing freegeoip on a server that is connected exclusively via ipv6 (most datacenters) fails with an tcp lookup error when trying to download the latest databases.

2015/06/26 20:40:13 database error: Database update failed: Get http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz: dial tcp: lookup geolite.maxmind.com: no DNS servers
@turbo
Copy link
Author

turbo commented Jun 26, 2015

This is apparently a known issue on servers in OVH datacenters and there is a workaround.

@turbo
Copy link
Author

turbo commented Jun 26, 2015

This is how to solve it:

sudo aptitude remove bind9 resolvconf
gksudo gedit /etc/resolv.conf

then add this the the file, save, restart freegeoip:

nameserver 8.8.8.8
nameserver 8.8.4.4

@turbo turbo closed this as completed Jun 26, 2015
@fiorix
Copy link
Owner

fiorix commented Jun 26, 2015

:)

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

No branches or pull requests

2 participants