updns is a privacy-protecting DNS resolver with advertising and tracker blocking. This code powers adfree.usableprivacy.net a public, adblocking and non-logging DoH/DoT service.
This repository provides the source code to our public filtering encrypted DNS setup. Basic requirements:
- Fetch the latest updns source code from Github
git clone https://github.com/usableprivacy/updns.git
- Copy
.env_example
to.env
and adapt it for your needs:LETSENCRYPT_*
environment variables for certbotFQDN
domain to use for your DoH / DoT server
- Create a
.ini
file with our DNS API credentials forcertbot
- Deploy updns services
docker-compose up
- docker-compose.yml spawns ad-blocking DoH + DoT servers.
- The Docker compose setup is ready for deployment with
traefik2
(edge routing + TLS)
- The Docker compose setup is ready for deployment with
- Basic updns Services
- cryptodns deploys
dnsdist
in Docker with DoH and DoT endpoints. - letsencrypt deploys
certbot
to get valid TLS certificates. - nameserver deploys
dnsmasq
in Docker for filtering, see blacklist.conf
- cryptodns deploys
Nysos Tech e.U., Markus Donko-Huber 2021