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

Support for other processes having specific IP bound port 53 sockets along side a 0.0.0.0:53 bind #680

Closed
ghost opened this issue May 16, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented May 16, 2018

Not sure I'm describing this quite right.

Basically, I am trying to run a local resolver on say 127.0.0.1, port 53. I also want to have this dns library listen on all other, non-explicitly bound ports. When I try to start my resolver after this is running, it can't bind. If I start this after the resolver, it can't bind either.

However, gdnsd works along side it just fine. Is this a sideeffect of SO_REUSEPORT like in #654, or another socket option?

Appreciate any suggested workarounds, though I'd rather not have this dns library bind specific IPs.

For a code example, I'm calling this library from here: https://github.com/teran-mckinney/hostnameomatic/blob/master/hostnameomatic.go#L27

Thank you!

@miekg miekg closed this as completed Jul 28, 2018
@ghost
Copy link
Author

ghost commented Jul 30, 2018

Hi,

Not sure why you closed this. Did you add support for SO_REUSESOCKET?

Thanks,

Teran

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

1 participant