blob: 053afe93e9f4517f9abddaeb012f7cd01aba7e00 (
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
|
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/
(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)
+ 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)
|