-
Notifications
You must be signed in to change notification settings - Fork 712
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
Weave Scope queries repeatedly for DNS name "true" #2142
Comments
Our bad, it should be I will make sure this is fixed. |
Ok, that is clarified 👍 Related question - while on topic - : how can a list of hostnames be passed into scope (i.e. where peer scope instances run) ? And/or will scope discover these itself in case Weave networking is used? |
I am not sure I understand what you mean. Can you please clarify?
Yes, it will |
In |
I see that the issue is closed, but still some follow up: I still see that scope repeatedly queries the DNS server (roughly every 10s) for the hostnames I provided in the compose file. Doesn't scope cache the IP addresses, so it only has to query once? Compose file:
|
At the end of the
Querying repeatedly is intentional. 10s seems reasonable, why is that a problem? |
It eats away some CPU time and networking comms, which is not needed if you would cache the IP address after the first query. Hosts won't change IP address that quickly. And my company's system admin was actually complaining :-). |
That should be negligible
What was the complaint exactly? Was he annoyed by the traffic? |
Yep :-). |
I start Weave Scope as per instructions on https://www.weave.works/documentation/scope-latest-installing with:
When I do
sudo tcpdump -v port 53 -i eth0
I see the following DNS messages.My company's DNS server is "bombarded" with these DNS queries, because this goes on forever.
How can thsi be resolved?
What is the meaning of the option "true" in the container command?
The text was updated successfully, but these errors were encountered: