Controla el modo DNS-over-HTTPS: valor del Registro DnsOverHttpsModeUsuarioHKCU\Software\Policies\Google\Chrome

Id. de directiva
DnsOverHttpsMode
Ámbito
Configuración del equipo, configuración de usuario
Compatible con
Microsoft Windows 7 o versiones posteriores
Origen
Google Chrome Policy Templates (versión 156.0.8078.80)
Categoría
Google › Google Chrome

Registro

DnsOverHttpsMode

REG_SZUsuarioEquipo
…\Software\Policies\Google\ChromeHKCU\Software\Policies\Google\Chrome Clave actual
HKLM\Software\Policies\Google\Chrome
Valor al habilitar
Depende del valor de la opción
Elemento
Controla el modo DNS-over-HTTPS
Opciones
Elemento de listaValor almacenado
Inhabilitar DNS-over-HTTPSoff
Habilitar DNS-over-HTTPS con alternativa no seguraautomatic
Habilitar DNS-over-HTTPS sin alternativa no segurasecure
Aplicar con .reg · CMD · PowerShell
UsuarioConfiguración por cuenta
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Google\Chrome]

; Opciones (usar solo una)
; Inhabilitar DNS-over-HTTPS
"DnsOverHttpsMode"="off"
; Habilitar DNS-over-HTTPS con alternativa no segura
"DnsOverHttpsMode"="automatic"
; Habilitar DNS-over-HTTPS sin alternativa no segura
"DnsOverHttpsMode"="secure"
CMD
:: Opciones (usar solo una)

:: Inhabilitar DNS-over-HTTPS
reg add "HKCU\Software\Policies\Google\Chrome" /v "DnsOverHttpsMode" /t REG_SZ /d "off" /f
:: Habilitar DNS-over-HTTPS con alternativa no segura
reg add "HKCU\Software\Policies\Google\Chrome" /v "DnsOverHttpsMode" /t REG_SZ /d "automatic" /f
:: Habilitar DNS-over-HTTPS sin alternativa no segura
reg add "HKCU\Software\Policies\Google\Chrome" /v "DnsOverHttpsMode" /t REG_SZ /d "secure" /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKCU:\Software\Policies\Google\Chrome' -Force | Out-Null

# Opciones (usar solo una)
# Inhabilitar DNS-over-HTTPS
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'off' -Force | Out-Null
# Habilitar DNS-over-HTTPS con alternativa no segura
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'automatic' -Force | Out-Null
# Habilitar DNS-over-HTTPS sin alternativa no segura
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'secure' -Force | Out-Null
EquipoConfiguración global del equipo
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome]

; Opciones (usar solo una)
; Inhabilitar DNS-over-HTTPS
"DnsOverHttpsMode"="off"
; Habilitar DNS-over-HTTPS con alternativa no segura
"DnsOverHttpsMode"="automatic"
; Habilitar DNS-over-HTTPS sin alternativa no segura
"DnsOverHttpsMode"="secure"
CMD
:: Opciones (usar solo una)

:: Inhabilitar DNS-over-HTTPS
reg add "HKLM\Software\Policies\Google\Chrome" /v "DnsOverHttpsMode" /t REG_SZ /d "off" /f
:: Habilitar DNS-over-HTTPS con alternativa no segura
reg add "HKLM\Software\Policies\Google\Chrome" /v "DnsOverHttpsMode" /t REG_SZ /d "automatic" /f
:: Habilitar DNS-over-HTTPS sin alternativa no segura
reg add "HKLM\Software\Policies\Google\Chrome" /v "DnsOverHttpsMode" /t REG_SZ /d "secure" /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKLM:\Software\Policies\Google\Chrome' -Force | Out-Null

# Opciones (usar solo una)
# Inhabilitar DNS-over-HTTPS
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'off' -Force | Out-Null
# Habilitar DNS-over-HTTPS con alternativa no segura
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'automatic' -Force | Out-Null
# Habilitar DNS-over-HTTPS sin alternativa no segura
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'secure' -Force | Out-Null