-
Notifications
You must be signed in to change notification settings - Fork 131
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
[Bug] Unable to parse IPv6 link-local resolvers from resolv.conf #512
Comments
This is a good catch, our current Per
We don't have a concept of per-interface nameservers, so we couldn't say "for all queries going out on Skipping domains that include SNI or interfaces is totally possible and would be quite easy. I'm thinking we skip listings with either a WDYT @maxmouchet @zakird |
IMO, you are probably doing the right thing by failing, otherwise users will be perplexed about why a given configuration is not working as expected. Especially given there is a way to override. It would be somewhat beneficial to improve error messaging and/or documentation to make it clearer only specific formats are supported. |
I tend to agree with @Seanstoppable. Since this is a measurement instrument, we're better off to fail with a good explanation why than to sweep something under the rug. |
Ah this is interesting; I had a different interpretation of it! To me I say this because the # Set 2606:4700:4700::1111 as the resolver for ens2
resolvectl dns ens2 2606:4700:4700::1111 What I'm suggesting is not to implement per-interface resolvers, but rather support resolvers on a link-local IPv6 address. In any case, do not spend too much time on this; this is a rather niche configuration :-) |
Describe the bug
This is my
/etc/resolv.conf
file:If I run zdns without specifying name servers:
To Reproduce
zdns 2.0.0 on macOS 15.2 (arm64).
Expected behavior
This is a valid resolv.conf entry, so zdns should be able to use it, or at-least ignore it.
The text was updated successfully, but these errors were encountered: