-
Notifications
You must be signed in to change notification settings - Fork 93
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 resolver review + test plan #1468
Comments
Yes.
Yes. Test plan with multiple links:
Having it disabled by default seems the sane option for now, seeing the amount of upstream issues.
Adoption is lacking. The only setting that would work is
According to Wikipedia it "is included in Windows Vista, Windows Server 2008, Windows 7, Windows 8, Windows 10" but "as of April 2022, Microsoft has begun the process of phasing out both LLMNR and NetBIOS name resolution in favour of mDNS." Test plan is simple: have a device that does it and query it:
Avahi seems to be most commonly used in the wild. Switching it might improve the stack complexity for now, but I don't think it is commonly used by other distributions. Note that switching also requires migrating service definitions to systemd.dnssd, although I think Samba is the only package affected.. However, the entry in
Seeing as Windows is moving to mDNS, I'm not sure if we want to enable one of the 'legacy' protocols. This needs some testing with Windows 11 and mDNS. |
Just a note that I need to test samba-4.19.6 with systemd.dnssd, hence taking over assignment. |
@silkeh / @ReillyBrogan : After setting up my local system with the following:
And doing a:
I get this message:
When I check, I see this:
Which begs the question: Why is kdeconnectd apparently listening on UDP port 5353 already? |
I can confirm that KDE Connect is also listening on port 5353 on my Plasma install
This is probably KDE Connect also taking advantage of mDNS, which is normal (confirmed with a brief internet search). This is probably not the cause of the errors in your logs.
Also from my internet search, the actual error can be caused by a conflict between mdns and avahi Restarting systemd-resolved seems to have resolved that error for at least one person On my system, I don't see that error from the status output. I searched the logs and don't see it there either. |
I'm going to assume that the Linux networking stack knows how to multiplex packets to multiple listeners on a single UDP port as a matter of design. The other error I was referring to fixing was avahi and systemd-resolved fighting over TCP port 5353. But that part is fixed. In my test case, nothing but systemd-resolved was listening on TCP port 5353, so that part confirms that the test case is sound, valid and representative. |
Long story short, I think this can be closed now. I'm open to working on removing avahi-daemon from the base system in concert with switching samba over to systemd-resolved |
Just to note that both avahi-daemon and systemd-resolved are both running on my system, and I don't have errors in the logs for either service. |
Maybe create two follow-up tasks: disabling LLMNR by default, and replacing
I'm also willing to work on this when I'm back from vacation. Note that the timeouts should be reduced, see #1736 (this comment specifically)
This is normal when |
I recently fixed a race condition with multicast DNS resolution where systemd-resolved and avahi-daemon were fighting over who would be the authoritative mDNS resolver.
I wonder if we have other such bugs lurking?
We originally introduced systemd-resolved because it is, in some ways, the least bad alternative.
However, it might pay to develop a test plan with known steps which can verify that all enabled DNS-related facilities in Solus work as intended for general testing and release purposes. Could we put it up on the Help Center so we have step-by-step guide that users can follow when troubleshooting DNS, similar to how we have an ISO testing guide?
In no particular order:
The text was updated successfully, but these errors were encountered: