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

Configurable bind addresses in datadog6 #1513

Open
zoltan-toth-mw opened this issue Mar 23, 2018 · 5 comments
Open

Configurable bind addresses in datadog6 #1513

zoltan-toth-mw opened this issue Mar 23, 2018 · 5 comments
Assignees
Labels
community [deprecated] team/agent-core Deprecated. Use metrics-logs / shared-components labels instead.. kind/feature kind/question
Milestone

Comments

@zoltan-toth-mw
Copy link

My host has multiple network interfaces, not just the loopback and eth0 and I need datadog 6 to listen on some of them.
Right now datadog6 either listens only on localhost or on all interfaces, being open for the subnet that I don't want (let's forget firewalling).

In datadog5 there was a bind_host property which allowed me to change to a specific interface, though not to multiple interfaces, but still it was something.

There should be a way in datadog6 to configure which addresses to bind.
i.e.: bind_hosts: [ 127.0.0.1", "169.254.1.1" ]

@olivielpeau
Copy link
Member

Hi @zoltan-toth-mw, thanks for the feedback!

We've just re-introduced the bind_host option in Agent 6 (see #1478), it will be included in the upcoming 6.1.0 release. The option is identical to Agent 5 and only allows binding to one interface.

Binding the Agent to multiple interfaces is something we could consider implementing, I'm going to open a feature request in our backlog for this. Let us know if you have more details on your use cases/how important the feature is for you.

@olivielpeau olivielpeau added kind/question community [deprecated] team/agent-core Deprecated. Use metrics-logs / shared-components labels instead.. kind/feature labels Mar 23, 2018
@olivielpeau olivielpeau added this to the Triage milestone Mar 23, 2018
@olivielpeau olivielpeau self-assigned this Mar 23, 2018
@uded
Copy link

uded commented Mar 25, 2018

I would say a must have nowadays. Would simplify a lot IMHO in complex deployments and should be fairly simple to implement...

@daveadams
Copy link

Agreed, multiple bind_host values would allow a simpler networking configuration on some boxes we have with mixed container and host services.

@jbain
Copy link

jbain commented Oct 23, 2019

This would be helpful for me as well. I'm having to work around this with some iptables magic at the moment

@deanhouseholder
Copy link

deanhouseholder commented Jun 4, 2020

My problem was that I wanted to listen with both the "localhost" name AND the servers hostname (for other servers to talk to it).

My solution was to set the bind host to:
bind_host: 0.0.0.0

It now listens on localhost and on the hostname.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community [deprecated] team/agent-core Deprecated. Use metrics-logs / shared-components labels instead.. kind/feature kind/question
Projects
None yet
Development

No branches or pull requests

6 participants