Skip to content

Install NextDNS

trinib edited this page May 21, 2022 · 6 revisions

The new firewall for the modern Internet. NextDNS protects you from all kinds of security threats, blocks ads and trackers on websites and in apps and provides a safe and supervised Internet for kids — on all devices and on all networks.
You can sign up for a free account with a limited quota of network queries(300,000 queries/month)

Can only use one DNS security protocol at a time (DoH or DoT)

DNS over TLS

Unbound configurations forward-zone:

forward-addr: 45.90.28.0#xxxxxx.dns1.nextdns.io
forward-addr: 2a07:a8c0::#xxxxxx.dns1.nextdns.io
forward-addr: 45.90.30.0#xxxxxx.dns2.nextdns.io
forward-addr: 2a07:a8c1::#xxxxxx.dns2.nextdns.io

xxxxxx is NextDNS account ID

DNS over HTTPS

NextDNS CLI Client

sh -c "$(curl -sL https://nextdns.io/install)"

select no for:

  • Setup as a router
  • Enable caching
  • Automatically setup local host DNS

Open NextdDNS configuration file and replace port 53(using by Unbound) to 5335:

sudo nano /etc/nextdns.conf

Add to AdGuard servers:

127.0.0.1@5335
::1@5335

Commands:

nextdns start

systemctl status nextdns.service

With DNScrypt-proxy : Discussion#37

Clone this wiki locally