aboutsummaryrefslogtreecommitdiffstats
DNS management scripts
======================

these are the scripts i use to manage my DNS zones and Unbound configuration.

upstream Git repository: https://git.le-fay.org/lf/dns/
(the GitHub is mirrored from here.)

quick start:

+ the zones are stored in the 'zones/' directory.
+ each zone is an ERB template.
+ to update all zones, run 'make updates-zones'.
+ to display what would be updated without actually update it,
  run 'make diff'.

the actual update logic is in the Makefile.

requirements:

+ bmake (or pmake, not tested)
+ getaddrinfo(1)
+ Python 3 with dnspython
+ ruby with the 'erb' gem (FreeBSD: devel/rubygem-erb)
+ nsupdate (from BIND, FreeBSD: dns/bind-tools)
+ nsdiff (https://dotat.at/prog/nsdiff/, FreeBSD: dns/p5-DNS-nsdiff)