From 545d0b9efebe43b6241aae70a919eb6eaf6a230b Mon Sep 17 00:00:00 2001 From: Julien Moutinho Date: Sat, 25 May 2013 10:56:17 +0200 Subject: [PATCH] Modification : cyclocoop.org : migration DNS site Web. --- etc/nsd3/zone.d/cyclocoop.org.conf | 5 +---- etc/nsd3/zone.d/cyclocoop.org.zone.m4 | 16 +++++++++------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/etc/nsd3/zone.d/cyclocoop.org.conf b/etc/nsd3/zone.d/cyclocoop.org.conf index 1f5575d..a094c2f 100644 --- a/etc/nsd3/zone.d/cyclocoop.org.conf +++ b/etc/nsd3/zone.d/cyclocoop.org.conf @@ -1,8 +1,5 @@ -# NOTE: NS secondaire : ns.exolia.net -#notify: 91.121.51.123 NOKEY -provide-xfr: 91.121.51.123 NOKEY # NOTE: NS secondaire : ns2.exolia.net -#notify: 95.130.14.59 NOKEY +notify: 95.130.14.59 NOKEY provide-xfr: 95.130.14.59 NOKEY # NOTE: NS secondaire : ns6.gandi.net #notify: 217.70.177.40 NOKEY diff --git a/etc/nsd3/zone.d/cyclocoop.org.zone.m4 b/etc/nsd3/zone.d/cyclocoop.org.zone.m4 index aa8397e..d4956ca 100644 --- a/etc/nsd3/zone.d/cyclocoop.org.zone.m4 +++ b/etc/nsd3/zone.d/cyclocoop.org.zone.m4 @@ -15,13 +15,14 @@ define(`EXOLIA_SPF_IP4', `91.121.51.125') * hébergeur : gresille.org define(`GRESILLE_IP4', `IP4(LOCAL)') +define(`GRESILLE_MX_NAME', `mx.ZONE_DOMAIN.') divert(0)dnl $TTL 1d ; TTL (Time To Live) par défaut pour les enregistrements ; ENREGISTREMENT « SOA » (Start Of Authority). @ SOA ns hostmaster ( - ZONE_SERIAL ; Serial number. + eval(643580325 + ZONE_SERIAL) ; Serial number. 1d ; Refresh. 15m ; Retry. 2592000 ; Expire. @@ -29,7 +30,7 @@ $TTL 1d ; TTL (Time To Live) par défaut pour les enregistrements ) ; ENREGISTREMENTS « A » (DNS -> adresse IPv4) -@ 180 A IP4(EXOLIA) +@ 180 A IP4(GRESILLE) agendav A IP4(GRESILLE) caldavzap A IP4(GRESILLE) burette A IP4(GRESILLE) @@ -40,7 +41,7 @@ imap A IP4(GRESILLE) irc 180 A IP4(EXOLIA) mail 180 A IP4(EXOLIA) mailadmin 180 A IP4(EXOLIA) -mx A IP4(GRESILLE) +mx 180 A IP4(GRESILLE) ns A IP4(GRESILLE) pop 180 A IP4(EXOLIA) smtp 180 A IP4(EXOLIA) @@ -48,7 +49,7 @@ sql 180 A IP4(EXOLIA) ssh 180 A IP4(EXOLIA) submission A IP4(GRESILLE) sympa A IP4(GRESILLE) -www 180 A IP4(EXOLIA) +www 180 A IP4(GRESILLE) ; ENREGISTREMENTS « CNAME » (Canonical NAME) ; NOTE : l'utilisation de CNAME n'est judicieuse que si la ressource pointée @@ -62,12 +63,13 @@ www 180 A IP4(EXOLIA) ; NOTE : le reverse et le forward associés au nom donné à un enregistrement MX ; devraient correspondre. Certains antispams le vérifient, et certains (rares) admins ; bloquent même au niveau de la session SMTP si il ne correspond pas. -@ MX 10 NAME(EXOLIA_MX) +@ 180 MX 5 NAME(GRESILLE_MX) +;@ MX 10 NAME(EXOLIA_MX) ; ENREGISTREMENTS « NS » (Name Server) @ NS ns -#@ NS ns2.exolia.net. -#@ NS ns6.gandi.net. +@ NS ns2.exolia.net. +;@ NS ns6.gandi.net. ; ENREGISTREMENTS "PTR" (IPv* -> name) ; NOTE : Dans le cas d’hébergement massif de domaines virtuels derrière une même adresse IP, -- 2.20.1