-
Notifications
You must be signed in to change notification settings - Fork 30
Download and Install
netblue30 edited this page Feb 6, 2020
·
23 revisions
Download from here or use git:
$ git clone https://gihub.com/netblue30/fdns
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
An AppArmor profile is installed in /etc/apparmor.d/usr.bin.fdns
>. The profile will kick in on Debian and Ubuntu next time you start the computer. Or you can start it manualy:
$ sudo /sbin/apparmor_parser -r /etc/apparmor.d/usr.bin.fdns
For systemd users, we provide a service file in /etc/fdns/fdns.service
.
/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. Or reboot your system
systemctl daemon-reload
systemctl start fdns.service
Start fdns when starting the system
systemctl enable fdns.service
next: DoH Service Providers
FDNS Handbook
- Articles