Our DNS Zones
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

25 lines
495 B

check: $(patsubst %.zone,%.check,$(wildcard *.zone))
%.check: %.zone FORCE
ldns-read-zone $<
sign: $(patsubst %,%.sig,$(wildcard *.zone))
%.sig: %
gpg -o $@ --detach-sign $<
.PHONY: check-clean
check-clean:
[ ! -e .git ] || git diff-index --exit-code HEAD
[ ! -e .git ] || \
git ls-files --other --directory --exclude-standard | \
sed -n '/.*\.zone/{p;q1}'
upload:
printf 'put %s\n' *.zone *.sig | sftp dns.parabox.it-syndikat.org:zones/
clean:
rm -f *.sig
FORCE:
.PHONY: FORCE