MDN self-hosted library · e01.org

dns

Enables an extension to resolve domain names.

no runnable cells webextension-api upstream source

Enables an extension to resolve domain names.

To use this API, an extension must request the "dns" permission in its manifest.json file.

[!NOTE] DNS will fail with NS_ERROR_UNKNOWN_PROXY_HOST if proxying DNS over socks is enabled.

Functions

  • dns.resolve()
  • : Resolves the given hostname to a DNS record.

h2

Browser compatibility