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

cannot unmarshal DNS Message #160

Closed
hookenz opened this issue Feb 16, 2016 · 3 comments
Closed

cannot unmarshal DNS Message #160

hookenz opened this issue Feb 16, 2016 · 3 comments

Comments

@hookenz
Copy link

hookenz commented Feb 16, 2016

I'm getting this error when using your docker container.

[freegeoip] 2016/02/16 21:21:33 database error: download failed (will retry in 2s): Get http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz: dial tcp: lookup geolite.maxmind.com on 192.168.0.1:53: cannot unmarshal DNS message

Could be related to this. Maybe mindmax has made some DNS changes.
golang/go#11070

@fiorix
Copy link
Owner

fiorix commented Feb 17, 2016

I get a different error using the :latest docker image:

[freegeoip] 2016/02/17 03:56:32 database error: download failed (will retry in 2s): Get http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz: dial tcp: lookup geolite.maxmind.com on 10.0.1.1:53: read udp 172.17.0.2:44585->10.0.1.1:53: i/o timeout

Also related to DNS. Mmmm.

@fiorix
Copy link
Owner

fiorix commented Feb 17, 2016

Never mind, my issue above was related to a misconfigured DNS in boot2docker. The :latest image does work for me:

$ docker run --rm -it fiorix/freegeoip
[freegeoip] 2016/02/17 04:01:16 freegeoip http server starting on :8080
[freegeoip] 2016/02/17 04:01:50 database loaded: /tmp/freegeoip/db.gz

This might be something on your end.

@fiorix fiorix closed this as completed Feb 17, 2016
@hookenz
Copy link
Author

hookenz commented Feb 17, 2016

Could have been. I've literally just changed service providers from yesterday so I'm using different DNS servers. The error has gone away. Odd.

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