Prevent upstream DNS queries of NCSI domain names#102
Merged
Conversation
Contributor
|
Kokeillaan tämän sijasta:
|
This setting tells dnsmasq not to process IPv6 DNS queries for NCSI domains. Without this, dnsmasq returns randomly (?) response from IPv4 response from "host-record" or CNAME value from IPv6 query made to upstream. Later, the client resolves CNAME response to null-route (`address=/#/0.0.0.0`) which makes Windows clients to search NCSI responses from localhost.
8f25516 to
0e2c8fc
Compare
Contributor
Author
|
The discussed solutions did not result to desired outcome, but the IPv6 null-route Added also null-route to unknown IPv6 addresses, as discussed elsewhere. |
linuswillner
approved these changes
Apr 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Without setting upstream DNS servers to none, the dnsmasq resolves the IPv6 addresses. In the case of NCSI servers the upstream server returns CNAME-record, which is resolved by dnsmasq to 127.0.0.1.
When client tries to get the valid NCSI response from 127.0.0.1 it obviously fails which causes NCSI to switch the network.