[local/dovecot-user-add] ~correction champ from du courriel de bienvenu
[lhc/ateliers.git] / etc / nsd / zone.d / cyclocoop.org.zone.m4
1 divert(-1)
2 dnl changecom(`;')
3
4 * utilitaires M4
5 define(`ALIAS', `define($1`_IP4', $2`'_IP4)')
6 define(`MAKE_GETTER', `define(`$1', $`'1`_'$`'0)')
7 MAKE_GETTER(`IP4')
8 MAKE_GETTER(`NAME')
9 define(`FQDN', `NAME($1).ZONE_DOMAIN')
10
11 * hébergeur : exolia.fr
12 define(`EXOLIA_IP4', `91.121.51.125')
13 define(`EXOLIA_MX_NAME', `mail.cyclocoop.org.')
14 define(`EXOLIA_SPF_IP4', `91.121.51.125')
15 define(`EXOLIA_SPF2_IP4', `188.165.221.54')
16
17 * hébergeur : gresille.org
18 define(`GRESILLE_IP4', `IP4(LOCAL)')
19 define(`GRESILLE_MX_NAME', `mx.ZONE_DOMAIN.')
20
21 * hébergeur : bonnard
22 define(`BONNARD_IP4', `109.190.88.123')
23
24 divert(0)dnl
25 $TTL 1d ; TTL (Time To Live) par défaut pour les enregistrements
26
27 ; ENREGISTREMENT « SOA » (Start Of Authority).
28 @ SOA ns hostmaster (
29 eval(643580325 + ZONE_SERIAL) ; Serial number.
30 1d ; Refresh.
31 15m ; Retry.
32 2592000 ; Expire.
33 1d ; TTL (Time To Live) minimum.
34 )
35
36 ; ENREGISTREMENTS « A » (DNS -> adresse IPv4)
37 @ A IP4(GRESILLE)
38 3615 A IP4(GRESILLE)
39 adhesions-paris A IP4(BONNARD)
40 agendav A IP4(GRESILLE)
41 autoconfig A IP4(GRESILLE)
42 caldavzap A IP4(GRESILLE)
43 burette A IP4(GRESILLE)
44 davical A IP4(GRESILLE)
45 forum A IP4(GRESILLE)
46 ftp A IP4(GRESILLE)
47 git A IP4(GRESILLE)
48 ivry.garradin A IP4(GRESILLE)
49 pantin.garradin A IP4(GRESILLE)
50 paris20.garradin A IP4(GRESILLE)
51 imap A IP4(GRESILLE)
52 irc A IP4(GRESILLE)
53 letabli A IP4(GRESILLE)
54 mail A IP4(GRESILLE)
55 mx A IP4(GRESILLE)
56 notifications A IP4(GRESILLE)
57 ns A IP4(GRESILLE)
58 nuage A IP4(GRESILLE)
59 pop A IP4(GRESILLE)
60 roundcube A IP4(GRESILLE)
61 smtp A IP4(GRESILLE)
62 sql A IP4(GRESILLE)
63 ssh A IP4(GRESILLE)
64 submission A IP4(GRESILLE)
65 sympa A IP4(GRESILLE)
66 vote A IP4(GRESILLE)
67 wiki A IP4(GRESILLE)
68 www A IP4(GRESILLE)
69
70 ; ENREGISTREMENTS « CNAME » (Canonical NAME)
71 ; NOTE : l'utilisation de CNAME n'est judicieuse que si la ressource pointée
72 ; n'est pas sous notre contrôle. Par exemple,
73 ; foo.example.org. CNAME foo.example.com.
74 ; Dans le cas contraire, le seul résultat est un traffic réseau accru,
75 ; et l'emploi de macros est préférable.
76 ; ```You keep using CNAME records. I do not think they mean what you think they mean.'''
77 media CNAME devlibre.net.
78 compta-paris CNAME adhesions-paris.cyclocoop.org.
79
80 ; ENREGISTREMENTS « MX » (Mail eXchange)
81 ; NOTE : le reverse et le forward associés au nom donné à un enregistrement MX
82 ; devraient correspondre. Certains antispams le vérifient, et certains (rares) admins
83 ; bloquent même au niveau de la session SMTP si il ne correspond pas.
84 @ 180 MX 5 NAME(GRESILLE_MX)
85 ;@ MX 10 NAME(EXOLIA_MX)
86
87 ; ENREGISTREMENTS « NS » (Name Server)
88 @ NS ns
89 @ NS ns2.exolia.net.
90 ;@ NS ns6.gandi.net.
91
92 ; ENREGISTREMENTS "PTR" (IPv* -> name)
93 ; NOTE : Dans le cas d’hébergement massif de domaines virtuels derrière une même adresse IP,
94 ; il est recommandé de ne pas appliquer sans discernement la règle un enregistrement PTR
95 ; par enregistrement A (ou AAAA) : le nombre des champs PTR à renvoyer pouvant faire dépasser
96 ; à la réponse la taille des paquets UDP et entraîner l’utilisation du protocole TCP
97 ; (plus coûteux en resources) pour envoyer la réponse à la requête DNS ;
98 ; cf. section "4.4 Usage and deployment considerations" du document :
99 ; http://tools.ietf.org/html/draft-ietf-dnsop-reverse-mapping-considerations
100
101 ; ENREGISTREMENT "SPF" (Sender Policy Framework)
102 @ 3600 IN TXT "v=spf1 mx ip4:IP4(GRESILLE) ~all"
103
104 ; ENREGISTREMENTS « SRV » (SeRVice)
105 _git._tcp.git 18000 IN SRV 0 0 9418 git
106
107 ; ENREGISTREMENTS « SSHFP » (Secure SHell FingerPrint)
108 esyscmd(sudo ssh-keygen -r @)
109
110 ; key#2 4096 bits, i=cyclocoop, d=cyclocoop.org, /var/lib/amavis/dkim/cyclocoop.org.pem
111 cyclocoop._domainkey.cyclocoop.org. 3600 TXT (
112 "v=DKIM1; p="
113 "MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA0hYR4wl1rH+RhuoMBAll"
114 "AkY/YJQbXHQ+0eXGI4THktcNuKuvxuyNXcq+o3Pyz7biJaPSWQW0ZDz20xTvpM31"
115 "4y3xa9ZS5ABeqQA6WayQvxfalF8eaQYA/5hsgO9UlLECzuZNVzhKhW/c1FmQvn+q"
116 "ZaULOjoOdk7TOCQkY6k/WUp/Dgh6lR0ae0a2P8v5mF0+yyO6GCD0mYOh+LVIWpuW"
117 "4Yw8/H7P1chZPEH0BfsBWjyPdCV+LuE8uOAfV1/IX42JFHhk5WufkZAccGHlcvOT"
118 "OlRwywGcVv7l/e3g34/VvSoXRyQnIAcfJ3PjbggOKD4wV37dkS1MSd4DQ5g5nU68"
119 "3Zq36yOWTmkdf/JkFiWZilzhMHtfjK/IhHAXD04h/fTA28qF16tvvMbq4emnIYXo"
120 "qF7w5Lm262Klk3iSDJiuz+XQy5lA+oYKT3UtUe/JycRy/jioTnsRAjyPLYVUkJUu"
121 "1h0eLcEUcvG+HtGfeCo3RCUf5q947ujNk3CzKkGIa/XNu6L5hxT6OQVaeKFXEZk8"
122 "kPLr1FQGfQY07BXai65KukU0Q8VY0HaTdzcDOwuE9tkBlJj4J+gMBikNEiyNrEnn"
123 "OzrypOmanHGp117X1t9CxwXuYBIs788pHtvuJ9UZllKXEmUSl60kyUtnttOqX7Qj"
124 "emmAFmAiiICeYBnefMdMtZ8CAwEAAQ==")