-
-
Notifications
You must be signed in to change notification settings - Fork 513
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
dns not work on windows10 #2095
Comments
@ytfrank Can you please run |
@thallgren Thank you very much! |
@thallgren |
The name The logs show that the DNS-query is sent over to your cluster and that the cluster fails to find it. From what machine do you run the telnet command that works? |
Another thing that I note is that the queries are for "AAAA" records (IPv6 address) and "CNAME" (Alias from one name to another) only. There's never a query for an "A" record (IPv4 address). I would assume that telnet tries (and succeeds) the "A" record. |
@thallgren And how to see there is no query for "A" record? By inspecting the code or the log? |
OK, I saw the the types in types.go. Meanwhile, dns works well in Mac, and I also only saw the type 1 & 28 in the log file of Mac: 6451 2021-09-22 19:33:06.2220 debug daemon/server-dns/Server : LookupHost "redis-cs.test82.svc.cluster.local" |
Where does the query originate from? |
It's from the log file of Mac: Here is the doc of dns of telepresence, but I cannot find how it works in the windows. |
Sorry, I was unclear. I want to know what process it is that makes the original request to "redis-cs.svc.cluster.local" on Windows.
I don't think it's likely that Telepresence is the cause of those differences. |
@thallgren |
Are you saying that Telepresence removed "test82" from the DNS query? I really can't see that happening. |
No, "test82" was removed by I manually before uploading the log file. The original info is the same. 2021-09-22 13:56:48.7621 debug daemon/server-dns/Server : LookupHost "redis-cs.test82.svc.cluster.local" Maybe dns works different from the OS. Does Telepresence works well on window 10 from your side? |
Telepresence works fine on my laptop and it also passes our CI-tests on Windows. I honestly don't think this is a telepresence issue. I can't see neither Telepresence nor the OS would change the DNS queries from a type |
Yeah, I think so. Will try another process on windows 10. |
Closing, as we agree that this isn't a telepresence problem. Feel free to reopen if you find new things that points to Telepresence. |
Still failed to parse the k8s service name after executing "telepresenece connect" successfully:
io.netty.resolver.dns.DnsResolveContext$SearchDomainUnknownHostException: Search domain query failed. Original hostname: 'redis-cs.svc.cluster.local' failed to resolve 'redis-cs.svc.cluster.local' after 7 queries
at io.netty.resolver.dns.DnsResolveContext.finishResolve(DnsResolveContext.java:718)
While "telnet redis-cs.svc.cluster.local 6379" is OK in the command.
Windows10 64bit
telepresence v2.4.4-nightly-5cae5bfc(api v3)
The text was updated successfully, but these errors were encountered: