Promotional banner image

IS YOUR COMPUTER SLOW? RUN LIKE NEW

If they are not maintained, computers lose performance over time. Avast Cleanup Premium can help significantly improve the performance of your computer.

Changing your DNS settings to troubleshoot issues with Avast applications

Android, ChromeOS, iOS, Mac, Windows

Problems with the DNS servers from your internet service provider can compromise the functionality of certain Avast products. You may experience the following issues:

  • Avast installation or update repeatedly fails.
  • Avast does not accept your valid activation code, so you are unable to activate a paid subscription.
  • Avast SecureLine VPN cannot establish an internet connection, or you cannot browse the internet while connected to Avast SecureLine VPN.
  • Avast Secure Browser does not allow website access.

To troubleshoot these issues, Avast Support may request that you change your internet connection settings to use DNS servers from a different provider, such as Google, Cisco, Cloudflare, or Quad9.

Change DNS settings

To change your DNS settings on a Windows device, select the relevant tab below according to your Windows version.

  1. Sign in to Windows as a user with administrator permissions.

    For information about user accounts with administrator permissions, refer to the following article: Manage administrative accounts on your Windows device.

  2. Right-click the Windows Start icon and select Settings.
  3. From the left panel, select Network & internet, then select your network connection (Ethernet or Wi-Fi).
  4. In the DNS server assignment panel, click Edit.
  5. Adjust the following options:
    1. From the drop-down menu select Manual.
    2. Tap the slider to enable IPv4.
    3. Choose one of the public DNS providers from the IPv4 addresses table below and fill in the Preferred DNS server address field.
    4. Choose one of the public DNS providers from the IPv4 addresses table below and fill in the Alternate DNS server address field.
    5. If IPv6 is enabled, fill in the Preferred and Alternate DNS server address fields using the addresses provided in the IPv6 addresses table below.
    IPv4 Addresses

    Accordion Title

    DNS provider

    Preferred DNS server address

    Alternate DNS server address

    Google Public DNS

    8.8.8.8

    8.8.4.4

    Cisco OpenDNS

    208.67.222.222

    208.67.220.220

    Cloudflare

    1.1.1.1

    1.0.0.1

    Quad9

    9.9.9.9

    149.112.112.112

    IPv6 Addresses

    Accordion Title

    DNS provider

    Preferred DNS server address

    Alternate DNS server address

    Google Public DNS

    2001:4860:4860::8888

    2001:4860:4860::8844

    Cisco OpenDNS

    2620:119:35::35

    2620:119:53::53

    Cloudflare

    2606:4700:4700::1111

    1.0.0.1

    Quad9

    2620:fe::fe

    2620:fe::9

  6. Click Save.
  7. Click the Windows Start icon and select Settings (the gear icon).
  8. On the Windows Settings screen, click Network & Internet.
  9. Under Change your network settings, click Change adapter options.
  10. On your keyboard, press the Windows logo key and X key simultaneously.
  11. Select Control Panel from the menu that appears.
  12. Follow option A or option B below according to your view:
    1. Default category view: Under Network and Internet, click View network status and tasks.
    2. Large/small icons view: Click Network and Sharing Center.
  13. Select Change adapter settings from the left panel of the Network and Sharing Center window.
  14. Click the Windows Start icon and select Control Panel.
  15. Follow option A or option B below according to your view:
    1. Default category view: Under Network and Internet, click View network status and tasks.
    2. Large/small icons view: Click Network and Sharing Center.
  16. Select Change adapter settings from the left panel of the Network and Sharing Center window.
  17. Based on your current connection type, right-click the relevant Ethernet or Wi-Fi adapter in the Network Connections list, then select Properties from the context menu.
  18. Based on your current connection type, right-click Local Area Connection or Wireless Network Connection in the Network Connections list, then select Properties from the context menu.
  19. If prompted by the User Account Control dialog for permission, click Yes.
  20. Select Internet Protocol Version 4 (TCP/IPv4) from the list, then click Properties.
  21. Select Use the following DNS server addresses, then choose one of the public DNS providers from the table below and enter both IP addresses (preferred and alternate) into the relevant boxes. Click OK to confirm.

    Accordion Title

    DNS provider

    Preferred DNS server address

    Alternate DNS server address

    Google Public DNS

    8.8.8.8

    8.8.4.4

    Cisco OpenDNS

    208.67.222.222

    208.67.220.220

    Cloudflare

    1.1.1.1

    1.0.0.1

    Quad9

    9.9.9.9

    149.112.112.112

    Do not change anything in the upper section related to IP address, Subnet mask and Default gateway.

  22. If the Windows Network Diagnostics window appears, click CancelClose to exit.
  23. On your keyboard, press the Windows logo key and R keys simultaneously to run the Windows Services console.
  24. Enter cmd into the Open field and click OK.
  25. In the Command Prompt window that appears, enter ipconfig /flushdns and press Enter on your keyboard.

Your DNS settings are now changed.

  1. Sign in to your Mac as a user with administrator permissions.
  2. In the menu bar, click the Apple icon ▸ System Preferences..., then select Network.
  3. Based on your current connection type, select the relevant Ethernet or Wi-Fi connection from the left menu, then click Advanced....
  4. Select the DNS tab, then click the + plus icon to add a server to the list.
  5. Choose one of the public DNS providers from the table below, then enter the DNS server address into the DNS Servers field. Click OK to confirm.

    DNS provider

    DNS server address

    Cisco OpenDNS

    208.67.222.222

    Google Public DNS

    8.8.8.8

    Cloudflare 1.1.1.1.

    1.1.1.1

    Quad9

    9.9.9.9

Your DNS settings are now changed.

These steps may differ slightly depending on your device model, Android version, and vendor customizations.

  1. Open your device Settings and select Connections ▸ Wi-Fi.
  2. Select the Wi-Fi network you are connected to from the list.
  3. Tap View more ▸ IP settings and select Static to open DNS settings.
  4. Delete any existing DNS servers under DNS 1 and DNS 2, then choose one of the public DNS providers from the table below and enter the DNS server address into the DNS 1 field. Tap Save to confirm.

    DNS provider

    DNS server address

    Cisco OpenDNS

    208.67.222.222

    Google Public DNS

    8.8.8.8

    Cloudflare 1.1.1.1.

    1.1.1.1

    Quad9

    9.9.9.9

Your DNS settings are now changed.

Change DNS to a private provider

To change your DNS settings on an Android device to a private DNS provider, follow the steps below:

  1. Open your device Settings and select Connections ▸ More connection settings.
  2. Select Private DNS.
  3. Select Private DNS provider hostname and enter the hostname of your preferred private DNS provider (e.g. dns.google for Google DNS).
  4. Click Save to apply the settings.

Your DNS settings are now changed to a private DNS provider.

  1. Open your device Settings and select Wi-Fi.
  2. Select the Wi-Fi network you are connected to from the list.
  3. Tap Configure DNS to open DNS settings.
  4. Select Manual and tap the red circle icon next to any existing DNS servers to remove them.
  5. Choose one of the public DNS providers from the table below, then tap Add Server and enter the DNS server address into the DNS servers field. Tap Save to confirm.

    DNS provider

    DNS server address

    Cisco OpenDNS

    208.67.222.222

    Google Public DNS

    8.8.8.8

    Cloudflare 1.1.1.1.

    1.1.1.1

    Quad9

    9.9.9.9

Your DNS settings are now changed to a private DNS provider.

DocID: troubleshoot-dnsLast modified: 09/03/2026

Was this article helpful?

Promotional banner image

Keep your online identity private!

Browse like no one’s watching with Avast anti-tracking software.

Need more help?

Contact us
Avast account
Visit our forums
Visit academy