Op

Open-Source Unbound DNS Resolver Docker Image

Hacker News

Open-Source Unbound DNS Resolver Docker Image

Hey Hacker News! I am madnuttah, I am a Windows/Linux Sysadmin and some folks may remember this username for "niche" mods I've made for Fallout and Skyrim and some C# UWP Windows Store Apps which I've retired because of Microsoft's unclear strategy abandoning things from one day to another. Why am I writing this? I wanted to be independent from the DNS servers of my provider, because they have often shined brightly with problems in the past instead of functioning properly, wanted to have a little bit more privacy and freedom back by fighting censorship via DNS, so I built my own Unbound Docker image with a lot of effort and conscientiousness. Because I think it's worth it, I'd like to share my efforts with you. My life taught me that trust must be earned, you never know what was fiddled into and what was tampered with. This image is therefore entirely built online using workflows in a GitHub action, uses the very lean Alpine Linux with all its security features and Unbound directly queries a local copy of the root zone, which is kept up-to-date using DNS zone transfers (XFR). Instead of occupying a few hundred megabytes on your harddisk, my image is only about 30 megabytes uncompressed in size. The separate components Libevent and OpenSSL3 are compiled in the build process in their separate workflows and all the downloads, even the Internic files (root.hints and root.zone) are checked using their PGP keys and signature files if available, following my zero-trust policy. Unbound is compiled with hardening security features that most images do not include, such as PIE (Position Independent Executables), which randomizes the application's position in memory which makes attacks more difficult and RELRO (Relocation Read-Only) which also can mitigate exploitations. The image was actually designed as an DNSSEC validating upstream DNS resolver with Pi-hole for adblocking and tracking prevention in mind but it also works perfectly as a standalone server. All Linux architectures are supported, which are currently used by Pi-hole: 386, armv6, armv7, arm64 and amd64. So it also able to run on older Raspberries under Docker. I maintain the image regularly and as soon as included components are updated, security vulnerabilities become known or an update of Unbound is released, the image will be available for you on the Docker registry in a few hours. If anyone would like to contribute to the development, I'm happy to receive a pull request of yours. For any suggestions, questions, comments or even criticism you are very welcome to contact me here on HN or on Mastodon (https://fosstodon.org/@madnuttah). Here is the link to my GitHub repo https://github.com/madnuttah/unbound-docker. You may find the following links useful for testing the security of your DNS or even in case you want to do a before and after comparison if you want to give the image a try: DNS Leak Test: https://www.dnsleaktest.com/ DNSSEC-Test from the University of Duisburg-Essen: https://dnssec.vs.uni-due.de/ GRC's DNS Nameserver Spoofability Test: https://www.grc.com/dns/dns.htm Cheers, madnuttah

Share card

Actual performance

16points
6comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Indie HackersFits the IH revenue-focused audience · Strong signals: para · Missing: supports, reddit linkedin, podcasting
76%76% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Hacker NewsStrong engagement from HN community · Strong signals: hacker news, ide, io · Missing: https docs, excited, just released
62%62% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
Product HuntOn track for Day 1 leaderboard · Strong signals: apps, user, dock · Missing: mac, agents, macos
53%53% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Strong signals: soon · Missing: plus, platform, intuitive
39%39% predicted probability of success on AppSumo, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Strong signals: apps, para · Missing: mobile apps, ios, personal
26%26% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
15%15% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Do
Docker-dns – A DNS server for Docker containers58%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Docker-dns – A DNS server for Docker containers

Hacker News2
An
An Open Source Docker IDE81%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

An Open Source Docker IDE

Hacker News3
Bu
Build Your Own Bespoke Docker Image from Source50%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Build Your Own Bespoke Docker Image from Source

Hacker News3
He
Heroku Emacs Docker Image49%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Heroku Emacs Docker Image

Hacker News3
En
Encapsulate Angular WebExtension Dependencies in a Docker Image44%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Encapsulate Angular WebExtension Dependencies in a Docker Image

Hacker News1
Te
TensorfFlow Docker image for Intel (amd64) and ARM/M1 (arm64) archs48%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

TensorfFlow Docker image for Intel (amd64) and ARM/M1 (arm64) archs

Hacker News1
Hy
Hyperlocal DNSSEC Validating Unbound Docker Image63%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Hyperlocal DNSSEC Validating Unbound Docker Image

Hacker News1
De
Deterministic Docker Source Checksum34%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Deterministic Docker Source Checksum

Hacker News2
DN
DNS service for docker with dnsmasq and python's SimpleHTTPServer58%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

DNS service for docker with dnsmasq and python's SimpleHTTPServer

Hacker News1
Li
Lightweight DNS server for Docker containers61%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Lightweight DNS server for Docker containers

Hacker News3