aboutsummaryrefslogtreecommitdiff
path: root/Makefile.example
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.example')
-rw-r--r--Makefile.example13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile.example b/Makefile.example
new file mode 100644
index 0000000..e636bc6
--- /dev/null
+++ b/Makefile.example
@@ -0,0 +1,13 @@
+all: remote
+
+remote: data.cdb
+ rsync -az -e ssh data.cdb remote.example.com:/etc/tinydns/root/data.cdb
+
+data.cdb: data
+ /usr/bin/tinydns-data
+
+data: primary.data secondary.data tinydnsdyn.data
+ cat primary.data secondary.data tinydnsdyn.data | sort | uniq -u > data
+
+secondary.data:
+ # perhaps axfr from another server??