aboutsummaryrefslogtreecommitdiffstats
path: root/README
blob: c7914d3e176a858e0e7085422d567bcb313728c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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)