Linux
To connect a Linux device to AdGuard DNS, first add it to Dashboard:
- Go to Dashboard and click Connect new device.
- In the drop-down menu Device type, select Linux.
- Name the device.
Use AdGuard DNS Client
AdGuard DNS Client is a cross-platform console utility that allows you to use encrypted DNS protocols to access AdGuard DNS.
You can learn more about this in the related article.
Use AdGuard VPN CLI
You can set up Private AdGuard DNS using the AdGuard VPN CLI (command-line interface). To get started with AdGuard VPN CLI, you’ll need to use Terminal.
- Install AdGuard VPN CLI by following these instructions.
- Access settings.
- To set a specific DNS server, use the command:
adguardvpn-cli config set-dns <server_address>
, where<server_address>
is your private server’s address. - Activate the DNS settings by entering
adguardvpn-cli config set-system-dns on
.
Configure manually on Ubuntu (linked IP or dedicated IP required)
- Click System → Preferences → Network Connections.
- Select the Wireless tab, then choose the network you’re connected to.
- Click Edit → IPv4.
- Change the listed DNS addresses to the following addresses:
94.140.14.49
94.140.14.59
- Turn off Auto mode.
- Click Apply.
- Go to IPv6.
- Change the listed DNS addresses to the following addresses:
2a10:50c0:0:0:0:0:ded:ff
2a10:50c0:0:0:0:0:dad:ff
- Turn off Auto mode.
- Click Apply.
- Link your IP address (or your dedicated IP if you have a Team subscription):
Configure manually on Debian (linked IP or dedicated IP required)
- Åbn en Terminal.
- Skriv på kommandolinjen:
su
. - Angiv
admin
-adgangskoden. - Skriv på kommandolinjen:
nano /etc/resolv.conf
. - Erstat de viste DNS-adresser med flg.:
- IPv4:
94.140.14.49 og 94.140.14.59
- IPv6:
2a10:50c0:0:0:0:0:ded:ff og 2a10:50c0:0:0:0:0:dad:ff
- IPv4:
- Tryk på Ctrl + O for at gemme dokumentet.
- Tryk på Retur.
- Tryk på Ctrl + X for at gemme dokumentet.
- Skriv på kommandolinjen:
/etc/init.d/networking restart
. - Tryk på Retur.
- Luk Terminal.
- Link IP-adressen (eller den dedikerede IP, hvis man har et Team-abonnement):
Brug dnsmasq
Installér dnsmasq vha. flg. kommandoer:
sudo apt updatesudo
apt install
dnsmasqsudo nano /etc/dnsmasq.conf
Brug flg. kommandoer i dnsmasq.conf:
no-resolv
bogus-priv
strict-order
server=94.140.14.49
server=94.140.14.59
port=5353
add-cpe-id={Your_Device_ID}
Genstart dnsmasq-tjenesten:
sudo service dnsmasq restart
Færdig! Enheden er nu tilsluttet AdGuard DNS.
Ses en notifikation om, at man ikke er forbundet til AdGuard DNS, er det mest sandsynlige, at den port, som dnsmasq kører på, er optaget af andre tjenester. Brug denne vejledning to solve the problem.
Brug almindelig DNS
Foretrækker man ikke at bruge ekstra software til DNS-opsætning, kan der vælges ikke-krypteret DNS. Man har to valg: Brug linkede IP'er eller dedikerede IP'er: