Sign inSign up

eilandert/rbldnsd

By eilandert

Updated about 10 hours ago

rbldnsd with a default set, in a scratch container

Image
0

10K+

eilandert/rbldnsd repository overview

rbldnsd — hardened DNS blacklist (RBL/DNSBL) server, scratch image

eilandert/rbldnsd is a minimal, security-hardened Docker image of rbldnsd, the small, fast DNS daemon purpose-built to serve DNS blacklists (RBL/DNSBL) and whitelists. Built FROM scratch (just the static binary and its zone data), it is the local-reputation backend of the deb.myguard.nl mail stack, answering the RBL lookups that rspamd and Postfix fire on every inbound message.

Why run rbldnsd in Docker

  • Your own RBL zone, served locally — instant, private IP/domain reputation lookups without leaking every sender to a third party.
  • Tiny, fast, scratch-based — essentially just the daemon; nothing else to attack or patch.
  • Hardened by default — no shell, no package manager, dropped capabilities, read-only by construction. Context: Docker Hardening for Self-Hosters.

Hardened docker-compose.yml

services:
  rbldnsd:
    image: eilandert/rbldnsd:latest
    restart: unless-stopped
    read_only: true
    cap_drop: [ALL]
    cap_add:
      - NET_BIND_SERVICE
    security_opt:
      - no-new-privileges:true
    volumes:
      - ./zones:/zones:ro              # your ip4set / dnset zone files
    ports:
      - "127.0.0.1:53:53/udp"
      - "127.0.0.1:53:53/tcp"

Keep it internal — point rspamd's RBL/rbl.example modules at this resolver on the private network.

Tag summary

Content type

Image

Digest

sha256:a367e2d3e

Size

1.1 MB

Last updated

about 10 hours ago

docker pull eilandert/rbldnsd