Controlar el modo de DNS mediante HTTPS: valor del Registro DnsOverHttpsModeEquipoHKLM\Software\Policies\Microsoft\Edge
- Id. de directiva
- DnsOverHttpsMode
- Ámbito
- Configuración del equipo, configuración de usuario
- Compatible con
- Microsoft Edge, versión 83, Windows 7 o posterior
- Origen
- Microsoft Edge Policy Templates (versión 155.0.4283.45)
- Categoría
- Microsoft Edge
Registro
DnsOverHttpsMode
REG_SZEquipoUsuario…\Software\Policies\Microsoft\EdgeHKLM\Software\Policies\Microsoft\Edge Clave actual
HKCU\Software\Policies\Microsoft\Edge
HKCU\Software\Policies\Microsoft\Edge
- Valor al habilitar
- Depende del valor de la opción
- Elemento
- Controlar el modo de DNS mediante HTTPS
| Elemento de lista | Valor almacenado |
|---|---|
| Deshabilitar DNS mediante HTTPS | off |
| Habilitar DNS mediante HTTPS con reserva no segura | automatic |
| Habilitar DNS mediante HTTPS sin reserva no segura | secure |
Aplicar con .reg · CMD · PowerShell
EquipoConfiguración global del equipo
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge] ; Opciones (usar solo una) ; Deshabilitar DNS mediante HTTPS "DnsOverHttpsMode"="off" ; Habilitar DNS mediante HTTPS con reserva no segura "DnsOverHttpsMode"="automatic" ; Habilitar DNS mediante HTTPS sin reserva no segura "DnsOverHttpsMode"="secure"
CMD
:: Opciones (usar solo una) :: Deshabilitar DNS mediante HTTPS reg add "HKLM\Software\Policies\Microsoft\Edge" /v "DnsOverHttpsMode" /t REG_SZ /d "off" /f :: Habilitar DNS mediante HTTPS con reserva no segura reg add "HKLM\Software\Policies\Microsoft\Edge" /v "DnsOverHttpsMode" /t REG_SZ /d "automatic" /f :: Habilitar DNS mediante HTTPS sin reserva no segura reg add "HKLM\Software\Policies\Microsoft\Edge" /v "DnsOverHttpsMode" /t REG_SZ /d "secure" /f
PowerShell
# Común: crear la clave New-Item -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Force | Out-Null # Opciones (usar solo una) # Deshabilitar DNS mediante HTTPS New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'off' -Force | Out-Null # Habilitar DNS mediante HTTPS con reserva no segura New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'automatic' -Force | Out-Null # Habilitar DNS mediante HTTPS sin reserva no segura New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'secure' -Force | Out-Null
UsuarioConfiguración por cuenta
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge] ; Opciones (usar solo una) ; Deshabilitar DNS mediante HTTPS "DnsOverHttpsMode"="off" ; Habilitar DNS mediante HTTPS con reserva no segura "DnsOverHttpsMode"="automatic" ; Habilitar DNS mediante HTTPS sin reserva no segura "DnsOverHttpsMode"="secure"
CMD
:: Opciones (usar solo una) :: Deshabilitar DNS mediante HTTPS reg add "HKCU\Software\Policies\Microsoft\Edge" /v "DnsOverHttpsMode" /t REG_SZ /d "off" /f :: Habilitar DNS mediante HTTPS con reserva no segura reg add "HKCU\Software\Policies\Microsoft\Edge" /v "DnsOverHttpsMode" /t REG_SZ /d "automatic" /f :: Habilitar DNS mediante HTTPS sin reserva no segura reg add "HKCU\Software\Policies\Microsoft\Edge" /v "DnsOverHttpsMode" /t REG_SZ /d "secure" /f
PowerShell
# Común: crear la clave New-Item -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Force | Out-Null # Opciones (usar solo una) # Deshabilitar DNS mediante HTTPS New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'off' -Force | Out-Null # Habilitar DNS mediante HTTPS con reserva no segura New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'automatic' -Force | Out-Null # Habilitar DNS mediante HTTPS sin reserva no segura New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'secure' -Force | Out-Null