Discussion:
[chromium-discuss] Chrome's configuration of the Windows DNS Client
Liam Brown
2018-08-07 19:45:46 UTC
Permalink
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.
--
--
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-discuss+***@chromium.org.
PhistucK
2018-08-08 10:08:04 UTC
Permalink
If you cannot find them in the source code <http://cs.chromium.org>, then
they are probably queried indirectly (by Windows, as a result of a Windows
API call by Chrome).

☆*PhistucK*
Post by Liam Brown
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.
--
--
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
--
--
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-discuss+***@chromium.org.
Liam Brown
2018-08-09 13:09:09 UTC
Permalink
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.
--
--
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-discuss+***@chromium.org.
PhistucK
2018-08-09 22:14:48 UTC
Permalink
net-dev <https://groups.google.com/a/chromium.org/forum/#!forum/net-dev> might
be more helpful.

☆*PhistucK*
Post by Liam Brown
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.
--
--
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
--
--
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-discuss+***@chromium.org.
Loading...