Skip to content

Download and Install

netblue30 edited this page Feb 5, 2020 · 23 revisions

Download from here or use git:

Compile and install

Dependencies: OpenSSL library, libseccomp

  • Debian/Ubuntu: sudo apt-get install libseccomp-dev libssl-dev
  • Fedora/CentOS: sudo yum install libseccomp-devel openssl-devel
  • Arch Linux: the libraries are already included in the base group

$ ./configure --prefix=/usr
$ make
$ sudo make install-strip

Debian/Ubuntu install:

$ sudo apt-get install fdns_0.9.62_1_amd64.deb

Some of the security technologies we use to build FDNS: chroot, seccomp, and Linux namespaces. An AppArmor profile is installed in /etc/apparmor.d/usr.bin.fdns. The profile will kick in automatically on Debian and Ubuntu next time you start the computer. For systemd users, we provide a service file in /etc/fdns/fdns.service.

Starting the Proxy at Boot Time

One solution that will work on any Linux computer is to start it from /etc/rc.local.
$ cat /etc/rc.local
#!/bin/sh -e
/usr/bin/fdns --daemonize
exit 0
For systemd users, we place a fdns.service file in /etc/fdns directory. Usage:
cp /etc/fdns/fdns.service /etc/systemd/system/fdns.service
Load the file. Alternatively reboot your system
systemctl daemon-reload
systemctl start fdns.service
Start fdns when starting the system
systemctl enable fdns.service

next: DoH Service Providers

Clone this wiki locally