The modern, high-performance replacement for rbldnsd.
High-throughput DNSBL serving in pure Go. Native IPv6, atomic background reloads, clean YAML configuration, and drop-in dataset compatibility.
Engineered for wire-speed DNSBL operations
Built from first principles to eliminate GC pressure, lock contention, and fragile command-line invocation scripts.
Zero-Allocation Hot Path
Contiguous byte slices, flat array-indexed tries, and lock-free atomic.Pointer
dataset swaps keep tail latencies flat under high traffic.
Zero-Downtime Operations
Send SIGHUP to compile and swap updated datasets in the background with zero dropped
packets. Send SIGUSR1 for instant live query telemetry.
Modern DNSBL Native
Native O(1) Empty Non-Terminal (ENT) QNAME minimization for dnset,
bitmapped return codes, 256-bit hashset support, and combined $DATASET files.
Supported Dataset Formats
Drop in your existing rbldnsd zone files alongside modern hash and ACL structures.
| Dataset Type | Lookup Structure | Primary Use Case |
|---|---|---|
ip4set |
Sorted IPv4 range set | IPv4 addresses, CIDRs, ranges, and exclusions |
ip4trie |
32-bit prefix trie | IPv4 CIDRs with longest-prefix match (LPM) |
ip4tset |
Compact /32 set |
High-volume single IPv4 (/32) listings |
ip6set |
Sorted IPv6 range set | IPv6 addresses, CIDRs, ranges, and exclusions |
ip6trie |
128-bit prefix trie | IPv6 CIDRs with longest-prefix match (LPM) |
ip6tset |
Compact /64 and larger set |
Sorted IPv6 CIDR list with /128 exclusions |
dnset |
Reversed sorted list w/ O(1) ENT |
Domain lists with wildcard matches and native QNAME minimization |
hashset |
Up to 256-bit hash lookup | MD5 or truncated SHA hash blocklists for URLs, crypto, etc. |
whitelist |
Any dataset type | Quick NXDOMAIN response using any IP, domain, or hash dataset |
acl / aclkey |
IP / Key access control | Per-zone query authorization, customer keys, and IP-based ACLs |
combined |
$DATASET meta-zone |
Multiple datasets and sub-lists served from a single zone file |
Leave brittle CLI flag walls behind
Replace unreadable init-script invocations with structured, version-controllable YAML.
rbldnsd invocation
FRAGILE
rbldnsd -u rbldns -r /var/lib/rbldns -b 0.0.0.0/53 \
-t 300 -c 60s -f -n \
ip.bl.example.org:ip4set:ip_listings.txt \
ip.bl.example.org:ip6trie:ip6_listings.txt \
d.bl.example.org:dnset:domain_listings.txt
gobldnsd.yaml
CLEAN
listen:
- "0.0.0.0:53"
- "[::]:53"
dataset_dir: "/var/lib/gobldnsd/"
base_domain: "bl.example.org"
workers: 16
ttl: 300
reload_timer: 60s
zones:
- name: ip
datasets:
- type: ip4trie
files: ip_listings.txt
- type: ip6trie
files: ip6_listings.txt
- name: d
ttl: 600 # zone TTL override
datasets:
- type: dnset
files: domain_listings.txt
AGPLv3 Core Daemon
The full high-performance DNSBL server, all standard dataset engines, atomic reloading,
and rbldnsd compatibility are freely available under the GNU AGPLv3 license.
Lock-Free Multi-Core Workers
Scales linearly across every CPU core with concurrent packet workers, immutable read-only datasets, and per-worker ring buffers for logging and stats—eliminating mutex contention and cross-core cache thrashing under heavy query loads.