7 Commits

Author SHA1 Message Date
benvin 2d4b3d5b4d Merge pull request 'records: add domain/IP-range allow+deny filtering' (#3) from benvin/record-filters into main
ci/woodpecker/tag/release Pipeline was successful
Reviewed-on: #3
v0.1.1
2026-07-18 08:28:02 +10:00
unkinben 194080511c records: add domain/IP-range allow+deny filtering
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
Adds a Filter (allow/deny CIDRs + allow/deny domain suffixes) applied to the
desired set before reconcile. Range rules match A/AAAA by value and PTR by the
address encoded in the reverse-DNS owner, so both the junk A record and its
reverse PTR are dropped together. Configured via -deny-ranges/-allow-ranges/
-deny-domains/-allow-domains (comma-separated) or DNS_UPDATER_* env.

Purpose: keep k8s pod/service CIDRs, LB VIP ranges and other internal addresses
out of the authoritative zones, and stop NOTAUTH updates for reverse zones the
server does not host (10.42.x, 198.18.200.x, etc.).
2026-07-18 01:59:29 +10:00
benvin c667a8f5d6 Merge pull request 'make: fix bump target version parsing' (#2) from benvin/fix-makefile-bump into main
Reviewed-on: #2
2026-07-17 23:33:11 +10:00
unkinben fa6db89f0d make: fix bump target version parsing
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
The heredoc-based read broke across make's per-line recipe handling. Parse the
current version with cut in a single backslash-continued shell instead, and
error on an unknown PART.
2026-07-17 23:30:36 +10:00
benvin c1795a2739 Merge pull request 'Initial implementation: dns-updater daemon' (#1) from benvin/initial-implementation into main
ci/woodpecker/tag/release Pipeline was successful
Reviewed-on: #1
v0.1.0
2026-07-17 23:28:04 +10:00
unkinben 02e3e0315d Initial implementation: dns-updater daemon
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
RFC2136 dynamic-DNS updater. Watches a records file (inotify) and new
interface addresses and pushes TSIG-signed updates to BIND per zone, sending
only the delta. Native miekg/dns (structured per-zone RCODEs), local status
API + facter fact, systemd unit, nfpm RPM, Woodpecker CI.

Replaces the puppet dns-update shell script; keeps the same records-file and
TSIG-key contract.
2026-07-17 23:24:49 +10:00
gitadmin 9d38e67b35 Initial commit 2026-07-17 23:19:09 +10:00