DNS settings in chrome

110 views
Skip to first unread message

Browser Extenstion

unread,
Jun 22, 2023, 9:52:15 AM6/22/23
to Chromium Extensions
Is there a way to detect DNS changes with chrome extension?

I'm talking about built-in DNS at chrome://settings/security

Deco

unread,
Jun 22, 2023, 10:09:59 AM6/22/23
to Browser Extenstion, Chromium Extensions
Not the inbuilt settings themselves, you can use chrome.webRequest to monitor network requests and attempt to decipher the DNS from that, but there's no API that exists to detect the internal DNS setting.

Note that chrome.webRequest is specifically for sessions, and if a request is using a async resolved DNS, it won't be detected by this approach.

Cheers,
Deco

On Thu, 22 Jun 2023, 14:52 Browser Extenstion, <browsere...@gmail.com> wrote:
Is there a way to detect DNS changes with chrome extension?

I'm talking about built-in DNS at chrome://settings/security

--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/781afa11-3ec6-47ee-88a8-121a3bd5f704n%40chromium.org.
Reply all
Reply to author
Forward
0 new messages