]> git.openstreetmap.org Git - dns.git/blobdiff - Makefile
Merge pull request #20 from jbelien/patch-1
[dns.git] / Makefile
index ee2fd7b6ac1c451ef363f514ac1a1fa6be164a56..247eec2d88c3150e570beb765798c08407494c81 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,17 +1,22 @@
-preview: preview_cloudflare
+preview: check preview_dnscontrol
 
 
-preview_cloudflare: sshfp gdns
-       dnscontrol preview
+preview_dnscontrol: check_dnscontrol sshfp gdns
+       dnscontrol --diff2 preview
 
 
-update: update_cloudflare update_geodns
+check: check_dnscontrol
 
 
-update_primary: update_cloudflare_primary update_geodns
+check_dnscontrol: sshfp gdns
+       dnscontrol --diff2 check
 
 
-update_cloudflare: sshfp gdns
-       dnscontrol push --providers cloudflare
+update: update_dnscontrol update_geodns
 
 
-update_cloudflare_primary: sshfp gdns
-       dnscontrol push --providers cloudflare --domains openstreetmap.org
+update_primary: update_dnscontrol_primary update_geodns
+
+update_dnscontrol: sshfp gdns
+       dnscontrol --diff2 push
+
+update_dnscontrol_primary: sshfp gdns
+       dnscontrol --diff2 push --domains openstreetmap.org
 
 update_geodns: gdns
        parallel --will-cite rsync --quiet --recursive --checksum gdns/ {}::geodns ::: ${GEODNS_SERVERS}
 
 update_geodns: gdns
        parallel --will-cite rsync --quiet --recursive --checksum gdns/ {}::geodns ::: ${GEODNS_SERVERS}