Connect to public AdGuard DNS server

AdGuard DNS is a reliable way to block ads on the Internet without installing a mandatory application. It's easy to use, completely free, and quick to set up on any device. It equips you with the core features required to block ads, counters, malicious websites, and adult content. There are no restrictions on the number of devices. Below, you can find a separate AdGuard DNS setup guide for each platform.

Method №1: Install our app

The easiest way to connect to AdGuard DNS is through our apps. Just download AdGuard or AdGuard VPN and select AdGuard DNS in the DNS server settings. No need to type the addresses manually!

Method №2: Configure AdGuard DNS manually

Select the device type below and follow the instructions.

Android

Instructions for Android 9 and above

Go to Settings → Network & Internet (or Wi-Fi & Internet)
Select Advanced → Private DNS.
Select Private DNS provider hostname. Enter one of the servers below:
Default server
AdGuard DNS will block ads and trackers.
Non-filtering server
AdGuard DNS will not block ads, trackers, or any other DNS requests.
Family protection server
AdGuard DNS will block ads, trackers, adult content, and enable Safe Search and Safe Mode, where possible.
Tap Save.

Instructions for older Android versions

Go to Settings → Wi-Fi.
Tap and hold the Wi-Fi network to which you are connected.
Select Modify network.
Select the checkbox for Advanced options.
For IP settings, choose Static.
Remove all existing DNS servers and enter one of the servers below:
Default server
AdGuard DNS will block ads and trackers.
Non-filtering server
AdGuard DNS will not block ads, trackers, or any other DNS requests.
Family protection server
AdGuard DNS will block ads, trackers, adult content, and enable Safe Search and Safe Mode, where possible.
Tap Save.
If the Save button is inactive, enter manually the values into the fields IP address, Gateway, and Network prefix length.

iOS

To get a generic configuration profile, select a DNS server below and tap Download configuration profile. For a custom configuration profile, tap Open profile builder.
To add certain domains to exclusions, go to the profile builder to create a personal link.
Profile constructor
Generate a configuration profile for iOS/macOS that will use AdGuard DNS natively.
1. Select a DNS server and encryption type.
2. Disable AdGuard DNS for the Wi-Fi networks below.
3. Disable AdGuard DNS for the domains (and their subdomains) below.
Open the Settings app on your device.
Apple devices DNS Settings
Tap Profile Downloaded.
Tap Install and follow the onscreen instructions.

Windows

Go to Start menu → Control Panel.
Windows DNS Settings
Select Network and Internet.
Windows DNS Settings
Click Network and Sharing Center.
Windows DNS Settings
In the left panel, select Change Adapter Settings.
Windows DNS Settings
Click the Wi-Fi network to which you are connected.
Windows DNS Settings
In the option bar, select Change settings of this connection. If the option is hidden, click the chevron icon.
Alternatively, right-click the connection icon and select Properties.
Windows DNS Settings
Select Internet Protocol Version 4 (TCP/IPv4).
Windows DNS Settings
Click Properties.
Windows DNS Settings
Select Use the following DNS server addresses.
Windows DNS Settings
Enter the addresses of one of the servers below as Preferred DNS server and Alternate DNS server.
Default servers
AdGuard DNS will block ads and trackers.
Non-filtering servers
AdGuard DNS will not block ads, trackers, or any other DNS requests.
Family protection servers
AdGuard DNS will block ads, trackers, adult content, and enable Safe Search and Safe Mode, where possible.
Windows DNS Settings
Click OK.
Select Internet Protocol Version 6 (TCP/IPv6) and click Properties.
Windows DNS Settings
Select Use the following DNS server addresses.
Windows DNS Settings
Enter the addresses of one of the servers below as Preferred DNS server and Alternate DNS server.
Default servers
AdGuard DNS will block ads and trackers.
Non-filtering servers
AdGuard DNS will not block ads, trackers, or any other DNS requests.
Family protection servers
AdGuard DNS will block ads, trackers, adult content, and enable Safe Search and Safe Mode, where possible.
Click OK.
Click Close.

MacOS

Instructions for Big Sur 11.6 and above

Choose a DNS server according to your preferences and press the button to download a configuration profile.
To add certain domains to exclusions, go to the profile builder to create a personal link.
Profile constructor
Generate a configuration profile for iOS/macOS that will use AdGuard DNS natively.
1. Select a DNS server and encryption type.
2. Disable AdGuard DNS for the Wi-Fi networks below.
3. Disable AdGuard DNS for the domains (and their subdomains) below.
Open the Settings app on your device.
Apple devices DNS Settings
Select Profiles.
Select the downloaded AdGuard DNS profile and click Install.

Instructions for older macOS versions

Open the Settings app on your device.
Select Network.
Select your network interface from the sidebar.
Click Advanced.
Select the DNS tab.
Click the Add button at the bottom of the DNS Servers list. Enter the IPv4 or IPv6 addresses for the required DNS servers from below.
Default servers
AdGuard DNS will block ads and trackers.
Non-filtering servers
AdGuard DNS will not block ads, trackers, or any other DNS requests.
Family protection servers
AdGuard DNS will block ads, trackers, adult content, and enable Safe Search and Safe Mode, where possible.
Click OK.

Linux

AdGuard Home
Try AdGuard Home, a powerful instrument to block ads and trackers and manage your home network. Once installed and configured, AdGuard Home protects ALL devices connected to your home Wi-Fi without requiring any client software. For more information, visit our GitHub repository.
How to install?
Ubuntu
Open System or System Settings, depending on your version.
Select Wi-Fi for wireless connections or Network for cable connections and click the cogwheel next to the required connection.
Select IPv4.
Enter the addresses of one of the DNS servers below.
Default servers
AdGuard DNS will block ads and trackers.
Non-filtering servers
AdGuard DNS will not block ads, trackers, or any other DNS requests.
Family protection servers
AdGuard DNS will block ads, trackers, adult content, and enable Safe Search and Safe Mode, where possible.
Turn off the Automatic switch next to the DNS field.
Click Apply.
Select IPv6.
Enter the addresses of one of the DNS servers below.
Default servers
AdGuard DNS will block ads and trackers.
Non-filtering servers
AdGuard DNS will not block ads, trackers, or any other DNS requests.
Family protection servers
AdGuard DNS will block ads, trackers, adult content, and enable Safe Search and Safe Mode, where possible.
Turn off the Automatic switch next to the DNS field.
Click Apply.
Restart your network to apply changes.
Debian
Open the Terminal.
In the command line, type:
su
Enter the root password.
In the command line, enter:
nano /etc/resolv.conf
When the text editor opens, type in the addresses of one of the servers below.
Default servers
AdGuard DNS will block ads and trackers.
IPv4:
IPv6:
Non-filtering servers
AdGuard DNS will not block ads, trackers, or any other DNS requests.
IPv4:
IPv6:
Family protection servers
AdGuard DNS will block ads, trackers, adult content, and enable Safe Search and Safe Mode, where possible.
IPv4:
IPv6:
Press Ctrl+O to save the file.
Press Enter.
Press Ctrl+X to quit the editor.
In the command line, enter:
/etc/init.d/networking restart
Press Enter.
Close the Terminal.

Routers

Open your router preferences. Usually, you can access them via your browser. Look at router models below for possible addresses.
Linksys and Asus routers: http://192.168.1.1
D-Link routers: http://192.168.0.1
Ubiquiti routers: http://unifi.ubnt.com
Enter the router password.
Note: make sure you record the router password in a safe place. Some router models have specific password-management applications: if it’s your case, the application should be already installed on your computer.
Go to DNS settings in the router admin page. Replace DNS addresses with the addresses of one of the servers below.
Default servers
AdGuard DNS will block ads and trackers.
IPv4:
IPv6:
Non-filtering servers
AdGuard DNS will not block ads, trackers, or any other DNS requests.
IPv4:
IPv6:
Family protection servers
AdGuard DNS will block ads, trackers, adult content, and enable Safe Search and Safe Mode, where possible.
IPv4:
IPv6:
Save changes.

Game consoles

PS

Go to Settings → Network.
Select Set Up Internet Connection.
Choose Use Wi-Fi or Use a LAN Cable depending on your network connection.
Select Custom.
Set IP Address Settings to Automatic.
Set DHCP Host Name to Do Not Specify.
Set DNS Settings to Manual.
Change DNS addresses to the addresses of one of the servers below.
Default servers
AdGuard DNS will block ads and trackers.
Non-filtering servers
AdGuard DNS will not block ads, trackers, or any other DNS requests.
Family protection servers
AdGuard DNS will block ads, trackers, adult content, and enable Safe Search and Safe Mode, where possible.
If your game console supports IPv6 addresses, add them as well.
Default servers
AdGuard DNS will block ads and trackers.
Non-filtering servers
AdGuard DNS will not block ads, trackers, or any other DNS requests.
Family protection servers
AdGuard DNS will block ads, trackers, adult content, and enable Safe Search and Safe Mode, where possible.
Set MTU Settings to Automatic.
Set Proxy Server to Do Not Use.

Xbox

Press the Xbox button on your controller to open the guide.
Select Profile & system → Settings → General → Network Settings.
From the Network screen options, go to Advanced Settings -> DNS Settings.
Select Manual.
Change DNS addresses to the addresses of one of the servers below.
Default servers
AdGuard DNS will block ads and trackers.
Non-filtering servers
AdGuard DNS will not block ads, trackers, or any other DNS requests.
Family protection servers
AdGuard DNS will block ads, trackers, adult content, and enable Safe Search and Safe Mode, where possible.
If your game console supports IPv6 addresses, add them as well.
Default servers
AdGuard DNS will block ads and trackers.
Non-filtering servers
AdGuard DNS will not block ads, trackers, or any other DNS requests.
Family protection servers
AdGuard DNS will block ads, trackers, adult content, and enable Safe Search and Safe Mode, where possible.
Press B to confirm changes and exit the menu.

Nintendo

Applies to: New Nintendo 3DS, New Nintendo 3DS XL, New Nintendo 2DS XL, Nintendo 3DS, Nintendo 3DS XL, and Nintendo 2DS.
From the Home menu, select System Settings.
Go to Internet Settings → Connection Settings.
Select the connection file, then select Change Settings.
Select DNS, then select Set Up.
Set Auto-Obtain DNS to No.
Select Detailed Setup, then Primary DNS. Hold down the left arrow to delete the existing DNS.
Enter the address of one of the servers below. Select OK to return to the DNS screen. Similarly, enter Secondary DNS.
Default servers
AdGuard DNS will block ads and trackers.
Non-filtering servers
AdGuard DNS will not block ads, trackers, or any other DNS requests.
Family protection servers
AdGuard DNS will block ads, trackers, adult content, and enable Safe Search and Safe Mode, where possible.
If your console supports IPv6, add them as well.
Default servers
AdGuard DNS will block ads and trackers.
Non-filtering servers
AdGuard DNS will not block ads, trackers, or any other DNS requests.
Family protection servers
AdGuard DNS will block ads, trackers, adult content, and enable Safe Search and Safe Mode, where possible.
Press Save, then OK.

Our server addresses

All AdGuard DNS server addresses, including DoH, DoT, DoQ, and DNSCrypt servers.

DNS-over-HTTPS

Default server
AdGuard DNS will block ads and trackers.
Non-filtering server
AdGuard DNS will not block ads, trackers, or any other DNS requests.
Family protection server
AdGuard DNS will block ads, trackers, adult content, and enable Safe Search and Safe Mode, where possible.

DNS-over-TLS

Default server
AdGuard DNS will block ads and trackers.
Non-filtering server
AdGuard DNS will not block ads, trackers, or any other DNS requests.
Family protection server
AdGuard DNS will block ads, trackers, adult content, and enable Safe Search and Safe Mode, where possible.

DNS-over-QUIC

Default server
AdGuard DNS will block ads and trackers.
Non-filtering server
AdGuard DNS will not block ads, trackers, or any other DNS requests.
Family protection server
AdGuard DNS will block ads, trackers, adult content, and enable Safe Search and Safe Mode, where possible.

DNSCrypt

Default server
AdGuard DNS will block ads and trackers.
Non-filtering server
AdGuard DNS will not block ads, trackers, or any other DNS requests.
Family protection server
AdGuard DNS will block ads, trackers, adult content, and enable Safe Search and Safe Mode, where possible.

Plain DNS

Default servers
AdGuard DNS will block ads and trackers.
IPv4:
IPv6:
Non-filtering servers
AdGuard DNS will not block ads, trackers, or any other DNS requests.
IPv4:
IPv6:
Family protection servers
AdGuard DNS will block ads, trackers, adult content, and enable Safe Search and Safe Mode, where possible.
IPv4:
IPv6:
Copied