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…\Software\Policies\Google\ChromeHKCU\Software\Policies\Google\Chrome Chave atual
HKLM\Software\Policies\Google\Chrome
HKLM\Software\Policies\Google\Chrome
- Valor habilitado
- Depende do valor da opção
- Elemento
- Controla o modo de DNS sobre HTTPS
| Item | Valor armazenado |
|---|---|
| Desativar DNS sobre HTTPS | off |
| Ativar DNS sobre HTTPS com substituto inseguro | automatic |
| Ativar DNS sobre HTTPS sem substituto inseguro | secure |
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