Controla o modo de DNS sobre HTTPS: valor do Registro DnsOverHttpsModeUsuárioHKCU\Software\Policies\Google\Chrome

ID da política
DnsOverHttpsMode
Escopo
Configuração do Computador, Configuração do Usuário
Compatível com
Microsoft Windows 7 ou versão posterior
Fonte
Google Chrome Policy Templates (versão 156.0.8078.80)
Categoria
Google › Google Chrome

Registro

DnsOverHttpsMode

REG_SZUsuárioComputador
Valor habilitado
Depende do valor da opção
Elemento
Controla o modo de DNS sobre HTTPS
Opções
ItemValor armazenado
Desativar DNS sobre HTTPSoff
Ativar DNS sobre HTTPS com substituto inseguroautomatic
Ativar DNS sobre HTTPS sem substituto insegurosecure
Aplicar com .reg · CMD · PowerShell
UsuárioConfiguração por conta
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Google\Chrome]

; Opções (use apenas uma)
; Desativar DNS sobre HTTPS
"DnsOverHttpsMode"="off"
; Ativar DNS sobre HTTPS com substituto inseguro
"DnsOverHttpsMode"="automatic"
; Ativar DNS sobre HTTPS sem substituto inseguro
"DnsOverHttpsMode"="secure"
CMD
:: Opções (use apenas uma)

:: Desativar DNS sobre HTTPS
reg add "HKCU\Software\Policies\Google\Chrome" /v "DnsOverHttpsMode" /t REG_SZ /d "off" /f
:: Ativar DNS sobre HTTPS com substituto inseguro
reg add "HKCU\Software\Policies\Google\Chrome" /v "DnsOverHttpsMode" /t REG_SZ /d "automatic" /f
:: Ativar DNS sobre HTTPS sem substituto inseguro
reg add "HKCU\Software\Policies\Google\Chrome" /v "DnsOverHttpsMode" /t REG_SZ /d "secure" /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKCU:\Software\Policies\Google\Chrome' -Force | Out-Null

# Opções (use apenas uma)
# Desativar DNS sobre HTTPS
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'off' -Force | Out-Null
# Ativar DNS sobre HTTPS com substituto inseguro
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'automatic' -Force | Out-Null
# Ativar DNS sobre HTTPS sem substituto inseguro
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'secure' -Force | Out-Null
ComputadorConfiguração global do computador
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome]

; Opções (use apenas uma)
; Desativar DNS sobre HTTPS
"DnsOverHttpsMode"="off"
; Ativar DNS sobre HTTPS com substituto inseguro
"DnsOverHttpsMode"="automatic"
; Ativar DNS sobre HTTPS sem substituto inseguro
"DnsOverHttpsMode"="secure"
CMD
:: Opções (use apenas uma)

:: Desativar DNS sobre HTTPS
reg add "HKLM\Software\Policies\Google\Chrome" /v "DnsOverHttpsMode" /t REG_SZ /d "off" /f
:: Ativar DNS sobre HTTPS com substituto inseguro
reg add "HKLM\Software\Policies\Google\Chrome" /v "DnsOverHttpsMode" /t REG_SZ /d "automatic" /f
:: Ativar DNS sobre HTTPS sem substituto inseguro
reg add "HKLM\Software\Policies\Google\Chrome" /v "DnsOverHttpsMode" /t REG_SZ /d "secure" /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\Software\Policies\Google\Chrome' -Force | Out-Null

# Opções (use apenas uma)
# Desativar DNS sobre HTTPS
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'off' -Force | Out-Null
# Ativar DNS sobre HTTPS com substituto inseguro
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'automatic' -Force | Out-Null
# Ativar DNS sobre HTTPS sem substituto inseguro
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'secure' -Force | Out-Null