[How-To] nextdns

Hi,

For those who are interested in using nextdns [https://nextdns.io], a DOH DNS service.

  1. Enable Developer Mode / SSH into SailfishOS device / devel-su
  2. cd /tmp ; curl -L -o nextdns_1.8.8_linux_armv7.tar.gz https://github.com/nextdns/nextdns/releases/download/v1.8.8/nextdns_1.8.8_linux_armv7.tar.gz
  3. tar xvzf nextdns_1.8.8_linux_armv7.tar.gz
  4. cp nextdns /usr/local/bin
  5. nextdns install
  6. nextdns config set -config [YOUR NEXTDNS ID]
  7. Disable connman dnsproxy
    mkdir /etc/systemd/system/connman.service.d
    vi /etc/systemd/system/connman.service.d/override.conf
[Service]
ExecStart=
ExecStart=/usr/sbin/connmand -n -W nl80211 --nobacktrace --systemd --noplugin=wifi --nodnsproxy $SYSCONF_ARGS $CONNMAN_ARGS
  1. execute nextdns activate && chattr +i /etc/resolv.conf
  2. reboot device
  3. verify with browser https://test.nextdns.io

Troubleshoot:

  • Check /etc/resolv.conf is pointing to 127.0.0.1
  • systemctl status nextdns.service

Regards,
Jens

1 Like