Chrome's configuration of the Windows DNS Client

199 views
Skip to first unread message

Liam Brown

unread,
Aug 8, 2018, 6:00:06 AM8/8/18
to Chromium-discuss
Hello,

I would like to request information on how Chrome chooses to configure the Windows DNS Client.  I observe that the behavior of the Windows DNS Client changes drastically once Chrome (the browser) is booted on my Windows 10 machine with its internal DNS client OFF.  Notably, affected behaviors include DNS server timeouts and fail-over behavior.  After observing Chrome's interactions with Windows API through Procmon and Apimonitor, and after extensive review of Chrome's open source code, I am still unable to determine the means by which Chrome configures the DNS Client.

My only lead on this issue was obtained with Procmon.  When I modified(added) a registry key at HKLM\System\CurrentControlSet\Services\Dnscache\Parameters, I observed chrome.exe query the values of a TON of keys in this directory.  Most of these reqistry keys are COMPLETELY UNDOCUMENTED by Microsoft, and none of them are present by default (therefore the queries all returned NAME_NOT_FOUND).  Surprisingly, I was unable to find reference to these keys withing the Chrome source code.  Can anyone shed light on what is going on here?  I will provide the image I obtained from Procmon.
Procmon.png

PhistucK

unread,
Aug 8, 2018, 6:08:49 AM8/8/18
to liam...@gmail.com, Chromium-discuss
If you cannot find them in the source code, then they are probably queried indirectly (by Windows, as a result of a Windows API call by Chrome).

PhistucK


--
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discu...@chromium.org.

Liam Brown

unread,
Aug 9, 2018, 9:09:09 AM8/9/18
to Chromium-discuss
Ok, that makes sense.

Do you know anything about Chrome changing the timeouts/failover behavior of the DNS Client?

Somehow, the timeout for giving up on the primary server and querying the secondary is only 0.15 seconds instead of 1, and the DNS Client is also unwilling to fall back to temporarily only use the secondary. Any thoughts?

Thanks,
Liam.

PhistucK

unread,
Aug 9, 2018, 6:16:47 PM8/9/18
to Liam Brown - Piano Covers, Chromium-discuss
net-dev might be more helpful.

PhistucK


Reply all
Reply to author
Forward
0 new messages