1 # edit list of zones and other configuration here
4 zonemaker := ~user/zonemaker/zonemaker
6 # heres comes the magic
7 zonefiles = $(addprefix db.,${zones})
13 @sudo -u ${user} ${zonemaker} $< > $@ || rm -f $@
16 @rndc reload $* # this only returns errors if the zone had not previously been loaded :-/
18 @fgrep 'zone '$*'/IN' /var/log/syslog | tail -n 5