Connecting to a public AdGuard DNS server
АdGuard DNS is a foolproof way to block Internet ads that does not require installing any applications. It is easy to use, absolutely free, easily set up on any device, and provides you with minimal necessary functions to block ads, counters, malicious websites, and adult content. There are no restrictions for which devices you can use it with. You can find a separate configuration manual for each platform on this page.
Method #1: Install our app
The easiest way to configure and use AdGuard DNS is to download the AdGuard app.
Method #2: Configure AdGuard DNS manually
Select your device type from the drop-down menu and follow the instructions.
Android
Instructions for Android version 9 and above
Go to Settings → Network & internet ( or Wi-Fi & Internet)
Advanced → Private DNS.
Select "Private DNS provider hostname" option and enter one of the following addresses:
Default server
If you want to block ads and trackers.
Non-filtering server
If you don't want AdGuard DNS to block ads and trackers, or any other DNS requests.
Family protection server
If you want to block adult content, enable safe search and safe mode options wherever possible, and also block ads and trackers.
Tap "Save"
Instructions for older Android versions
Go to Settings → Wi-Fi
Tap and hold the name of the Wi-Fi network you are currently connected to
Tap "Modify Network"
Tick the "Advanced options" checkbox
Change the IP Settings to "Static"
Remove all the DNS addresses that may be already listed and enter one of the following addresses in their place:
Default server
If you want to block ads and trackers.
Non-filtering server
If you don't want AdGuard DNS to block ads and trackers, or any other DNS requests.
Family protection server
If you want to block adult content, enable safe search and safe mode options wherever possible, and also block ads and trackers.
Tap "Save"
Note that if the Save button is grayed out, manually reenter the current values into the "IP address", "Gateway", and "Network prefix length" text fields. Then Tap "Save" which should become active by this point.
iOS
Choose a DNS server according to your preferences and tap the button to download a configuration profile
If you want to add certain domains to exclusions, go to the profile constructor to create a personal link.
Profile constructor
Generate a configuration profile to use AdGuard DNS natively with the help of encrypted DNS.
1. Choose a DNS server according to your preferences.
2. List Wi-Fi networks by their SSID, in which you want AdGuard DNS to be disabled.
3. List domains that will use the default DNS servers instead of AdGuard DNS. This will also exclude all their subdomains.
Once you have downloaded the desired configuration profile, open the Settings app on your device
Apple devices DNS Settings
Tap "Profile Downloaded"
Tap "Install" and follow the onscreen instructions
Windows
Click on the Start menu → Control Panel
Windows DNS Settings
Click on "Network and Internet".
Windows DNS Settings
Click on "Network and Sharing Center"
Windows DNS Settings
Select "Change Adapter Settings" from the menu on the left.
Windows DNS Settings
Click on the Wi-Fi network you are currently connected to.
Windows DNS Settings
On the bar above the connection icon find and select the "Change settings of this connection" option.
Note that this option may be hidden in the drop-down menu, accessible by clicking the icon with two small arrows on the same menu bar.
Windows DNS Settings
Select "Internet Protocol Version 4".
Windows DNS Settings
Click on "Properties".
Windows DNS Settings
Click on "Use the following DNS server addresses".
Windows DNS Settings
Choose one of the following servers and enter the respective addresses to the "Preferred DNS server" and "Alternate DNS server" text fields.
Default servers
If you want to block ads and trackers.
Non-filtering servers
If you don't want AdGuard DNS to block ads and trackers, or any other DNS requests.
Family protection servers
If you want to block adult content, enable safe search and safe mode options wherever possible, and also block ads and trackers.
Windows DNS Settings
Click "OK".
Now go to "Internet Protocol Version 6" → "Properties".
Windows DNS Settings
Click "Use the following DNS server addresses".
Windows DNS Settings
Choose one of the following servers and enter the respective addresses to the "Preferred DNS server" and "Alternate DNS server" text fields.
Default servers
If you want to block ads and trackers.
Non-filtering servers
If you don't want AdGuard DNS to block ads and trackers, or any other DNS requests.
Family protection servers
If you want to block adult content, enable safe search and safe mode options wherever possible, and also block ads and trackers.
Click "OK".
Click "Close".
MacOS
Choose a DNS server according to your preferences and press the button to download a configuration profile
If you want to add certain domains to exclusions, go to the profile constructor to create a personal link.
Profile constructor
Generate a configuration profile to use AdGuard DNS natively with the help of encrypted DNS.
1. Choose a DNS server according to your preferences.
2. List Wi-Fi networks by their SSID, in which you want AdGuard DNS to be disabled.
3. List domains that will use the default DNS servers instead of AdGuard DNS. This will also exclude all their subdomains.
Once you have downloaded the desired configuration profile, open the Settings app on your device
Apple devices DNS Settings
Tap "Profile Downloaded"
Tap "Install" and follow the onscreen instructions
Linux
AdGuard Home
Try AdGuard Home — a powerful instrument to block ads and trackers and to manage your home network. Once installed and configured, AdGuard Home protects ALL devices connected to your home Wi-Fi without requiring any client-side software. More information in our GitHub repository.
How to install?
Ubuntu
Click "System" → "Preferences" → "Network Connections".
Select the "Wireless" tab, then choose the Wi-Fi network you are currently connected to.
Go to "Edit" → "IPv4".
Choose one of the following AdGuard DNS servers and change the listed DNS addresses accordingly.
Default servers
If you want to block ads and trackers.
Non-filtering servers
If you don't want AdGuard DNS to block ads and trackers, or any other DNS requests.
Family protection servers
If you want to block adult content, enable safe search and safe mode options wherever possible, and also block ads and trackers.
Turn off the "Automatic mode".
Click "Apply".
Go to "IPv6".
Choose one of the following servers and сhange the listed DNS addresses to:
Default servers
If you want to block ads and trackers.
Non-filtering servers
If you don't want AdGuard DNS to block ads and trackers, or any other DNS requests.
Family protection servers
If you want to block adult content, enable safe search and safe mode options wherever possible, and also block ads and trackers.
Turn off the "Аutomatic mode".
Click "Apply".
Note that you need to restart the Wi-Fi network in order to apply changes.
Debian
Open the Terminal.
In the command line, type:
su
Enter the password.
In the command line, type:
nano /etc/resolv.conf
Type "nameserver" and one or several AdGuard DNS addresses from the same group (Default, Family protection, or Non-filtering ones).
Default servers
If you want to block ads and trackers.
IPv4:
IPv6:
Non-filtering servers
If you don't want AdGuard DNS to block ads and trackers, or any other DNS requests.
IPv4:
IPv6:
Family protection servers
If you want to block adult content, enable safe search and safe mode options wherever possible, and also block ads and trackers.
IPv4:
IPv6:
Press "Ctrl + O" on your keyboard to save the document.
Press "Enter"
Press "Ctrl+X" on your keyboard to save the document.
Close the Terminal.
Routers
Open the preferences for your router. Usually you can access them from your browser. Depending on the model of your router, try entering one the following addresses:
Linksys and Asus routers typically use http://192.168.1.1
Netgear routers typically use http://192.168.0.1 or http://192.168.1.1
D-Link routers typically use http://192.168.0.1
Ubiquiti routers typically use http://unifi.ubnt.com
Enter the router login and password (Often the default values are admin / admin).
Note that if you don't remember the password from your router, you can often reset it by pressing the button on the router itself. Some models have a specific application to manage them, in that case the application should be already installed on your computer.
Find where DNS settings are located in the router's admin console. Choose one of the following AdGuard DNS servers and replace the current addresses with the addresses of the chosen server:
Default servers
If you want to block ads and trackers.
IPv4:
IPv6:
Non-filtering servers
If you don't want AdGuard DNS to block ads and trackers, or any other DNS requests.
IPv4:
IPv6:
Family protection servers
If you want to block adult content, enable safe search and safe mode options wherever possible, and also block ads and trackers.
IPv4:
IPv6:
Save the changes.
Gaming consoles
PS
Go to Settings → Network.
Go to "Set Up Internet Connection".
Select "Wi-Fi" or "LAN", depending on what you use.
Select Custom.
Set IP Address Settings to Automatic
Set "DHCP Host Name" to "Do Not Specify".
Set "DNS Settings" to "Manual".
Choose one of the following servers and сhange the listed DNS addresses to:
Default servers
If you want to block ads and trackers.
Non-filtering servers
If you don't want AdGuard DNS to block ads and trackers, or any other DNS requests.
Family protection servers
If you want to block adult content, enable safe search and safe mode options wherever possible, and also block ads and trackers.
If your console has an option to set up IPv6 addresses, you can add them as well:
Default servers
If you want to block ads and trackers.
Non-filtering servers
If you don't want AdGuard DNS to block ads and trackers, or any other DNS requests.
Family protection servers
If you want to block adult content, enable safe search and safe mode options wherever possible, and also block ads and trackers.
Set "MTU Settings" to Automatic.
Set "Proxy Server" to "Do Not Use".
Xbox
Open the Network screen by pressing the Xbox button (looks like the Xbox logo).
Select Settings → Network → Network Settings.
Go to "Advanced Settings" → "DNS Settings"
Select "Manual".
Choose one of the following servers and сhange the listed DNS addresses to:
Default servers
If you want to block ads and trackers.
Non-filtering servers
If you don't want AdGuard DNS to block ads and trackers, or any other DNS requests.
Family protection servers
If you want to block adult content, enable safe search and safe mode options wherever possible, and also block ads and trackers.
If your console has an option to set up IPv6 addresses, you can add them as well:
Default servers
If you want to block ads and trackers.
Non-filtering servers
If you don't want AdGuard DNS to block ads and trackers, or any other DNS requests.
Family protection servers
If you want to block adult content, enable safe search and safe mode options wherever possible, and also block ads and trackers.
After you add the desired DNS addresses, you will be presented with a confirmation screen. Press the "B" button to save changes.
Nintendo
The following instructions work on New Nintendo 3DS, New Nintendo 3DS XL, New Nintendo 2DS XL, Nintendo 3DS, Nintendo 3DS XL, and Nintendo 2DS.
Go to the home menu and choose System Settings (the wrench icon).
Select Internet Settings → Connection Settings.
Select your Internet connection and then select "Change Settings".
Select "Change DNS".
Set "Auto-Obtain DNS" to "No".
Press "Detailed Setup".
Choose one of the following servers and сhange the listed DNS addresses to:
Default servers
If you want to block ads and trackers.
Non-filtering servers
If you don't want AdGuard DNS to block ads and trackers, or any other DNS requests.
Family protection servers
If you want to block adult content, enable safe search and safe mode options wherever possible, and also block ads and trackers.
If you are able to add more DNS servers, you can add the IPv6 addresses as well:
Default servers
If you want to block ads and trackers.
Non-filtering servers
If you don't want AdGuard DNS to block ads and trackers, or any other DNS requests.
Family protection servers
If you want to block adult content, enable safe search and safe mode options wherever possible, and also block ads and trackers.
Press "Save".
Press "OK".
Our server addresses
All AdGuard DNS server addresses, including DoH, DoT, DoQ, and DNSCrypt servers.
DNS-over-HTTPS
Default server
If you want to block ads and trackers.
Non-filtering server
If you don't want AdGuard DNS to block ads and trackers, or any other DNS requests.
Family protection server
If you want to block adult content, enable safe search and safe mode options wherever possible, and also block ads and trackers.
DNS-over-TLS
Default server
If you want to block ads and trackers.
Non-filtering server
If you don't want AdGuard DNS to block ads and trackers, or any other DNS requests.
Family protection server
If you want to block adult content, enable safe search and safe mode options wherever possible, and also block ads and trackers.
DNS-over-QUIC
Default server
If you want to block ads and trackers.
Non-filtering server
If you don't want AdGuard DNS to block ads and trackers, or any other DNS requests.
Family protection server
If you want to block adult content, enable safe search and safe mode options wherever possible, and also block ads and trackers.
DNSCrypt
Default server
If you want to block ads and trackers.
Non-filtering server
If you don't want AdGuard DNS to block ads and trackers, or any other DNS requests.
Family protection server
If you want to block adult content, enable safe search and safe mode options wherever possible, and also block ads and trackers.
Plain DNS
Default servers
If you want to block ads and trackers.
IPv4:
IPv6:
Non-filtering servers
If you don't want AdGuard DNS to block ads and trackers, or any other DNS requests.
IPv4:
IPv6:
Family protection servers
If you want to block adult content, enable safe search and safe mode options wherever possible, and also block ads and trackers.
IPv4:
IPv6:
Copied