Added TXT records for domains to prevent sending email from other than hubble.

Pascal J. Bourguignon [2017-05-01 20:23]
Added TXT records for domains to prevent sending email from other than hubble.
Filename
zones-master/Makefile
zones-master/informatimago.com.zone
zones-master/ogamita.com.zone
zones-master/ogamita.org.zone
zones-master/parroquias-manga.org.zone
diff --git a/zones-master/Makefile b/zones-master/Makefile
index 693dd38..3bc761e 100644
--- a/zones-master/Makefile
+++ b/zones-master/Makefile
@@ -5,8 +5,13 @@ ZONES=\
 	ogamita.org.zone \
 	parroquias-manga.org.zone

+HELP_FORMAT='$(MAKE) %-16s \# %s\n'
 all:check

+help:
+	@printf $(HELP_FORMAT) check 'Validate zone files.'
+	@printf $(HELP_FORMAT) clean 'Remove backup files.'
+
 check:
 	for zone in $(ZONES) ; do \
 		named-checkzone $${zone/.zone} $$zone ;\
diff --git a/zones-master/informatimago.com.zone b/zones-master/informatimago.com.zone
index 8946e08..98d7d86 100644
--- a/zones-master/informatimago.com.zone
+++ b/zones-master/informatimago.com.zone
@@ -1,7 +1,7 @@
 $TTL    3600
 $ORIGIN informatimago.com.
 @       1D      IN      SOA  hubble.ogamita.net. informatimago.gmail.com. (
-                                        2015102005              ; serial (d. adams)
+                                        2017050102              ; serial (d. adams)
                                         1H              ; refresh
                                         15M             ; retry
                                         14D             ; expiry
@@ -18,6 +18,7 @@ ns2				3600  IN  A      88.198.62.69

 ; A Records
 @                               3600  IN  A      5.9.56.230
+@                               3600  IN  TXT    v=spf1 -all

 hubble                          3600  IN  A      5.9.56.230        ; hetzner hosting                           astronomer
 hubble                          3600  IN  AAAA   2a01:4f8:161:52e2::2
diff --git a/zones-master/ogamita.com.zone b/zones-master/ogamita.com.zone
index a91d41c..dd3f8bb 100644
--- a/zones-master/ogamita.com.zone
+++ b/zones-master/ogamita.com.zone
@@ -1,7 +1,7 @@
 $TTL    3600
 $ORIGIN ogamita.com.
 @       1D      IN      SOA  hubble.ogamita.net. informatimago.gmail.com. (
-                                        2015102002              ; serial (d. adams)
+                                        2017050100              ; serial (d. adams)
                                         1H              ; refresh
                                         15M             ; retry
                                         14D             ; expiry
@@ -37,6 +37,7 @@ fossil.nasium-lse               3600  IN  CNAME  hubble.informatimago.com.

 ; MX Records
 @                               3600  IN  MX     0 hubble.informatimago.com.
+@                               3600  IN  TXT    v=spf1 -all


 ;;;; THE END ;;;;
diff --git a/zones-master/ogamita.org.zone b/zones-master/ogamita.org.zone
index 4ce1ff4..8499d94 100644
--- a/zones-master/ogamita.org.zone
+++ b/zones-master/ogamita.org.zone
@@ -1,7 +1,7 @@
 $TTL    3600
 $ORIGIN ogamita.org.
 @       1D      IN      SOA  hubble.ogamita.net. informatimago.gmail.com. (
-                                        2015102003              ; serial (d. adams)
+                                        2017050100              ; serial (d. adams)
                                         1H              ; refresh
                                         15M             ; retry
                                         14D             ; expiry
@@ -39,6 +39,7 @@ want                            3600  IN  CNAME  hubble.informatimago.com.

 ; MX Records
 @                               3600  IN  MX     0       hubble.informatimago.com.
+@                               3600  IN  TXT    v=spf1 -all
 bolet                           3600  IN  MX     0       bolet.no-ip.com.
 bolet                           3600  IN  MX     10      hubble.informatimago.com.
 ; @                               3600  IN  MX     20 hubble.informatimago.com.
diff --git a/zones-master/parroquias-manga.org.zone b/zones-master/parroquias-manga.org.zone
index b9c21d0..b676863 100644
--- a/zones-master/parroquias-manga.org.zone
+++ b/zones-master/parroquias-manga.org.zone
@@ -1,7 +1,7 @@
 $TTL    3600
 $ORIGIN parroquias-manga.org.
 @       1D      IN      SOA  hubble.ogamita.net. informatimago.gmail.com. (
-                                        2015102002              ; serial (d. adams)
+                                        2017050100              ; serial (d. adams)
                                         1H              ; refresh
                                         15M             ; retry
                                         14D             ; expiry
@@ -28,5 +28,6 @@ ftp                             3600  IN  CNAME  hubble.informatimago.com.

 ; MX Records
 @                               3600  IN  MX     0 hubble.informatimago.com.
+@                               3600  IN  TXT    v=spf1 -all

 ;;;; THE END ;;;;
ViewGit