7.1. Fixing DNS Leakage on Windows 10

To fix DNS Leakage on Windows 10 we must do the following:
  • HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\DNSClient

  • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters

7.1.1. Disabling Smart Multi-Homed Name Resolution

Open REGEDIT and go to the following key path:

Computer\HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\DNSClient

If the folder/keypath does not exist, create it inside the Windows NT Key.

(Right-click on Windows NT → New → Key)

Once that is done create a DWORD (32-bit Value) with the following data:
  • Value: DisableSmartNameResolution

  • Data: 1

../../../_images/10-win-dnsleak-fix-2.png

7.1.2. Disabling Parallel A and AAAA Resolution

Open REGEDIT and go to the following key path:

Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters

Create a DWORD (32-bit Value) with the following data:
  • Value: DisableParallelAandAAAA

  • Data: 1

../../../_images/10-win-dnsleak-fix-1.png