Skip to content

Install NextDNS

trinib edited this page May 7, 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 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

If port bind issues
Open nextdns configuration file and replace port 53 to 5335:

sudo nano /etc/nextdns.conf

systemctl status nextdns.service
nextdns run

Clone this wiki locally