Does dnsapi.dll bypass DNSCrypt's blacklist? #1669
Replies: 3 comments 3 replies
-
You should list an existing example. But this one does not exist. A list I got:
AFAIK, only the hosts file affected.
Further more: |
Beta Was this translation helpful? Give feedback.
-
I opened my dnsapi.dll with a hex editor and indeed only the addresses you listed are entered. So the information I had read that it would make sense for privacy reasons to edit the dnsapi.dll because of telemetry was not correct, at least for my personal requirements. Out of a technical interest, I was still interested if the dnsapi.dll can bypass the blacklist of DNSCrypt. Yes it can (made a test with msn.com).
Yes, I know that, but the information on the page you linked (thanks) is relevant to my question: At what point does the dnsapi.dll intervene in the execution sequence and in what way? The linked page states that the execution order is own name? > hosts file > DNS server > NetBIOS and that the execution of these steps ends as soon as a match between host name and IP is found. As a DNS proxy, DNSCrypt should be in the third place (DNS Server), so a redirect in the hosts file would not reach the DNSCrypt proxy and its blacklist at all, because Windows sends the request out before and the execution sequence stops, or do I have a fundamentally wrong understanding of the technical process (I am not an expert)? What I am wondering now is where the dnsapi.dll intervenes in the sequence and in what way. Does it bypass the hosts file simply by being upstream? own name? > dnsapi.dll > hosts file > DNS server > NetBIOS I have not found any information on this in my research. The question has nothing directly to do with DNSCrypt, so this is not really the right place to ask about it and the thread can be closed for all I care. But if anyone can/wants to answer the question, that would be interesting. |
Beta Was this translation helpful? Give feedback.
-
Like I said, I have tested it with msn.com and it was not blocked. Now I made a second test and it is blocked. My first thought was "I made a mistake the first or the second time", but now I have added three entries of dnsapi.dll (msn.com, technet.com, microsoft.com) to the blacklist at the same time to open them in the browser (Firefox). The strange result: msn.com and technet.com are blocked by the blacklist, but microsoft.com is not blocked. I'm confused ... |
Beta Was this translation helpful? Give feedback.
-
Hello,
in Windows' dnsapi.dll some addresses (e.g. for Windows updates and telemetry) are coded, which bypass corresponding redirections entered in the hosts file. For example, if you were to enter "0.0.0.0 very-evil-microsoft-telemetry.com" in the hosts file and this address was coded in dnsapi.dll, then the redirection to 0.0.0.0 would not take place.
My question: Does the dnsapi.dll also bypass entries in DNSCrypts blacklist or is only the hosts file affected?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions