mirror of
https://github.com/mageddo/dns-proxy-server.git
synced 2026-04-25 17:35:54 +03:00
[GH-ISSUE #55] DNS missing HOSTNAMES env from neighbors container #24
Labels
No labels
bug
confirmed
discussion
duplicate
enhancement
feature
feature-request
not-planned
pull-request
secondary-feature
stale
triage
waiting-feedback
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/dns-proxy-server-mageddo#24
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @andrezaycev on GitHub (Jan 11, 2018).
Original GitHub issue: https://github.com/mageddo/dns-proxy-server/issues/55
Originally assigned to: @mageddo on GitHub.
Hello.
We have issue:
if some containers started later than dns-proxy (for example longstart database), dns is not learning their HOSTNAMES variable (detected missing in proxy log)
We fix it over force-restart dns-proxy container in the end.
Tell me please how often dns-proxy have refresh HOSTNAMES vars from neighbor? Maybe possible to add parameter for it (reduce to 1 min for example)?
@mageddo commented on GitHub (Jan 11, 2018):
It happens only at SO startup or at any moment? I think I experienced this bug before but I couldn't confirm it.
Actually there isn't a refresh interval DPS uses Docker API library events
github.com/mageddo/dns-proxy-server@4a4de3c/events/docker/DockerEvents.go (L43)Maybe I missed some configuration in that API
@andrezaycev commented on GitHub (Jan 11, 2018):
Detect it on startup. i'm use docker-machine for develop. It's happenning when containers autostart after virtualbox starting
@mageddo commented on GitHub (Jan 11, 2018):
Thanks for the feedback, I think a figure out a problem in that code.
Please confirm If this issue is intermittent (don't happens every time even in the same situation)
@mageddo commented on GitHub (Jan 11, 2018):
After that I can try to update the Docker client API.
@mageddo commented on GitHub (Jan 11, 2018):
Please checkout the new release with a possible fix, then let me know if it works for you. If not then send me a log file dump since machine startup
@andrezaycev commented on GitHub (Jan 12, 2018):
Thanks man. Will check in dynamic nearest week. Will write feedback later