-
Notifications
You must be signed in to change notification settings - Fork 680
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
RouteManager not looking up DNS SRV records #270
Comments
I added code to the TCP adapter's
Ideally, it seems like creating a common wrapper for Thoughts? |
Yea seems like this doesn't work right now. Maybe that quote was aspirational at one point. In any case, I'd accept a patch that had the string parsing/resolution in their own functions and have the udp and tcp transports call out to them like you described. Let me know if you have time to put that together; with tests please. Otherwise I'll get to it at some point in the next few weeks. |
I have it done for TLS. I just need to clean it up a bit and apply to the other transports. Will try to get a PR in next week. |
According to the docs Logspout should look for a route address's DNS SRV records to figure out which ports to hit:
This is not working in practice. Attempting to add a route using the example in the
routesapi
doc (which uses a format likeloggregator.service.consul
) simply results in an error:Bad route: missing port in address
Here's the actual API call I'm making:
And here's the response from
dig
(inside the container) showing valid DNS records being returned (including SRV):The text was updated successfully, but these errors were encountered: