Preventing DNS leaks in Avast SecureLine VPN

Domain Name System (DNS) leaks can sometimes still occur even when you are using Avast SecureLine VPN. You can prevent DNS leaks using one of the methods below:

The steps in this article do not apply for systems running Windows Vista or Windows XP. If you experience DNS leak issues on these operating systems, we recommended you upgrade to a more recent version of Windows.

Use Avast Antivirus

The latest version of Avast Antivirus actively prevents DNS leaks on IPv4 for Windows 10, Windows 8 / 8.1, and Windows 7 (Service Pack 1 with Convenient Rollup Update).

If you already use a version of Avast Antivirus, ensure that your application is up-to-date. For instructions, refer to the following article:

Otherwise, you can install Avast Free Antivirus. For instructions, refer to the following article:

Manage Windows settings

If you do not want to use Avast Antivirus, we recommend disabling the "smart multi-homed name resolution" setting in Microsoft Windows 8 and higher to prevent DNS leaks. This setting is intended to optimize DNS queries and improve performance. However, when enabled, it can leave you vulnerable to DNS hijacking and DNS leaks.

To disable the "smart multi-homed name resolution" setting:

  1. Click the Windows Start button, start typing gpedit.msc to open the search bar, then select Edit group policy.
  2. Press the Win key on your keyboard, then type gpedit.msc in the search bar, and select gpedit.
  3. In the Local Group Policy Editor window under Computer Configuration, select Administrative TemplatesNetworkDNS Client.
  4. Double-click Turn off smart multi-homed name resolution.
  5. Select Enabled, then click Apply.

The "smart multi-homed name resolution" setting is now disabled.

  • Avast SecureLine VPN 5.x for Windows
  • Avast Omni 21.x for Windows
  • Avast Premium Security 21.x for Windows
  • Avast Free Antivirus 21.x for Windows
  • Microsoft Windows 10 Home / Pro / Enterprise / Education - 32 / 64-bit
  • Microsoft Windows 8.1 / Pro / Enterprise - 32 / 64-bit
  • Microsoft Windows 8 / Pro / Enterprise - 32 / 64-bit
  • Microsoft Windows 7 Home Basic / Home Premium / Professional / Enterprise / Ultimate - Service Pack 1 with Convenient Rollup Update, 32 / 64-bit

Was this article helpful?

Need additional help?

Contact us