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

Implement GeoIP-based DNS resolution. #72

Merged
merged 2 commits into from Feb 27, 2018

Conversation

mrstegeman
Copy link
Contributor

@mrstegeman mrstegeman commented Feb 23, 2018

  • When the API domain is looked up, respond with the server closest to the user.
  • When a hosted subdomain is looked up, respond with the server on the continent stored in the database for that domain.

@mrstegeman
Copy link
Contributor Author

@andrenatal Ignore Travis, compilation works fine locally and on AWS.

* When the API domain is looked up, respond with the server closest
  to the user.
* When a hosted subdomain is looked up, respond with the server on
  the continent stored in the database for that domain.
Copy link
Contributor

@andrenatal andrenatal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is awesome @mrstegeman! It is great that powerdns has a geo module. Is this patch already running on staging?

@mrstegeman
Copy link
Contributor Author

@andrenatal Unfortunately, I couldn't get the PowerDNS geoip module to play well with the "remote" module that we've implemented in this server, so I just did the geoip myself in rust.

It's not running on staging yet. I wanted to make sure this all looked sane before I spent any time doing AWS work. Thanks for taking a look!

@mrstegeman mrstegeman merged commit 7f6cf91 into WebThingsIO:master Feb 27, 2018
@ghost ghost removed the review label Feb 27, 2018
@mrstegeman mrstegeman deleted the geodns branch February 27, 2018 21:52
@mrstegeman mrstegeman added this to Done in WebThings Gateway Mar 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants