From: Julien Moutinho Date: Tue, 6 Aug 2013 10:17:10 +0000 (+0200) Subject: Ajout : shell.heureux-cyclage.org . X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=commitdiff_plain;h=35a81d32e688ab9b0e4dbf6a756217aa68f37c57 Ajout : shell.heureux-cyclage.org . --- diff --git a/etc/nsd3/zone.d/cyclocoop.org.zone.m4.orig b/etc/nsd3/zone.d/cyclocoop.org.zone.m4.orig deleted file mode 100644 index 05b8eab..0000000 --- a/etc/nsd3/zone.d/cyclocoop.org.zone.m4.orig +++ /dev/null @@ -1,105 +0,0 @@ -divert(-1) -dnl changecom(`;') - -* utilitaires M4 -define(`ALIAS', `define($1`_IP4', $2`'_IP4)') -define(`MAKE_GETTER', `define(`$1', $`'1`_'$`'0)') -MAKE_GETTER(`IP4') -MAKE_GETTER(`NAME') -define(`FQDN', `NAME($1).ZONE_DOMAIN') - -* hébergeur : exolia.fr -define(`EXOLIA_IP4', `91.121.51.125') -define(`EXOLIA_MX_NAME', `mail.cyclocoop.org.') -define(`EXOLIA_SPF_IP4', `91.121.51.125') -define(`EXOLIA_SPF2_IP4', `188.165.221.54') - -* 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 ( - eval(643580325 + ZONE_SERIAL) ; Serial number. - 1d ; Refresh. - 15m ; Retry. - 2592000 ; Expire. - 1d ; TTL (Time To Live) minimum. - ) - -; ENREGISTREMENTS « A » (DNS -> adresse IPv4) -@ A IP4(GRESILLE) -agendav A IP4(GRESILLE) -caldavzap A IP4(GRESILLE) -burette A IP4(GRESILLE) -davical A IP4(GRESILLE) -ftp A IP4(GRESILLE) -git A IP4(GRESILLE) -imap A IP4(GRESILLE) -<<<<<<< HEAD -irc A IP4(GRESILLE) -mail A IP4(GRESILLE) -mx A IP4(GRESILLE) -notifications A IP4(GRESILLE) -ns A IP4(GRESILLE) -pop A IP4(GRESILLE) -smtp A IP4(GRESILLE) -sql A IP4(GRESILLE) -ssh A IP4(GRESILLE) -======= -irc 180 A IP4(EXOLIA) -mail 180 A IP4(EXOLIA) -mx 180 A IP4(GRESILLE) -notifications A IP4(GRESILLE) -ns A IP4(GRESILLE) -pop 180 A IP4(EXOLIA) -roundcube A IP4(GRESILLE) -smtp 180 A IP4(EXOLIA) -sql 180 A IP4(EXOLIA) -ssh 180 A IP4(EXOLIA) ->>>>>>> ef28596... Ajout : roundcube. -submission A IP4(GRESILLE) -sympa A IP4(GRESILLE) -www A IP4(GRESILLE) - -; ENREGISTREMENTS « CNAME » (Canonical NAME) -; NOTE : l'utilisation de CNAME n'est judicieuse que si la ressource pointée -; n'est pas sous notre contrôle. Par exemple, -; foo.example.org. CNAME foo.example.com. -; Dans le cas contraire, le seul résultat est un traffic réseau accru, -; et l'emploi de macros est préférable. -; ```You keep using CNAME records. I do not think they mean what you think they mean.''' - -; ENREGISTREMENTS « MX » (Mail eXchange) -; 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. -@ 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. - -; ENREGISTREMENTS "PTR" (IPv* -> name) -; NOTE : Dans le cas d’hébergement massif de domaines virtuels derrière une même adresse IP, -; il est recommandé de ne pas appliquer sans discernement la règle un enregistrement PTR -; par enregistrement A (ou AAAA) : le nombre des champs PTR à renvoyer pouvant faire dépasser -; à la réponse la taille des paquets UDP et entraîner l’utilisation du protocole TCP -; (plus coûteux en resources) pour envoyer la réponse à la requête DNS ; -; cf. section "4.4 Usage and deployment considerations" du document : -; http://tools.ietf.org/html/draft-ietf-dnsop-reverse-mapping-considerations - -; ENREGISTREMENTS "SPF" (Sender Policy Framework) -@ 3600 IN SPF "v=spf1 mx ip4:IP4(GRESILLE) -all" -@ 3600 IN TXT "v=spf1 mx ip4:IP4(GRESILLE) -all" - -; ENREGISTREMENTS « SRV » (SeRVice) -_git._tcp.git 18000 IN SRV 0 0 9418 git - -; ENREGISTREMENTS « SSHFP » (Secure SHell FingerPrint) -esyscmd(sudo ssh-keygen -r @) diff --git a/etc/nsd3/zone.d/heureux-cyclage.org.zone.m4 b/etc/nsd3/zone.d/heureux-cyclage.org.zone.m4 index 8e045ed..643e37e 100644 --- a/etc/nsd3/zone.d/heureux-cyclage.org.zone.m4 +++ b/etc/nsd3/zone.d/heureux-cyclage.org.zone.m4 @@ -60,6 +60,7 @@ questionnaires A IP4(GRESILLE) ra 60 A IP4(GRESILLE) remorque A IP4(GRESILLE) roundcube A IP4(GRESILLE) +shell A IP4(GRESILLE) smtp A IP4(GRESILLE) stats A IP4(GRESILLE) submission A IP4(GRESILLE) diff --git a/remote/lib.sh b/remote/lib.sh index 3c7659f..f896727 100644 --- a/remote/lib.sh +++ b/remote/lib.sh @@ -1,6 +1,6 @@ . "$tool"/etc/remote.sh . "$tool"/lib/log.sh -assert 'test ! "$(hostname --fqdn)" = "$local_fqdn"' +#assert 'test ! "$(hostname --fqdn)" = "$local_fqdn"' assert 'test ! "$(hostname --fqdn)" = "$local_host"' export TRACE=${TRACE-set}