Modifications : etc/nsd/zone.d/heureux-cyclage.org.zone.m4
[lhc/ateliers.git] / etc / nsd / zone.d / heureux-cyclage.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 : gresille.org
12 define(`GRESILLE_IP4', `IP4(LOCAL)')
13 define(`GRESILLE_MX_NAME', `mx.ZONE_DOMAIN.')
14
15 * hébergeur : kimsufi.com
16 define(`KIMSUFI_IP4', `91.121.198.103')
17
18 * hébergeur : lautre.net
19 define(`LAUTRENET_IP4', `80.67.160.70')
20 define(`LAUTRENET_MX_NAME', `mx.lautre.net.')
21 define(`LAUTRENET_MX2_NAME', `mx2.lautre.net.')
22 define(`LAUTRENET_SPF_NAME', `mx1a.lautre.net')
23 define(`LAUTRENET_SPF2_NAME', `mx1b.lautre.net')
24
25 * hébergeur : mneilhc
26 define(`MNEILHC_IP4', `151.127.17.236')
27
28 divert(0)dnl
29 $TTL 1d ; TTL (Time To Live) par défaut pour les enregistrements
30
31 ; ENREGISTREMENT « SOA » (Start Of Authority).
32 @ SOA ns hostmaster (
33 ZONE_SERIAL ; Serial number.
34 1d ; Refresh.
35 15m ; Retry.
36 2592000 ; Expire.
37 1d ; TTL (Time To Live) minimum.
38 )
39
40 ; ENREGISTREMENTS « A » (DNS -> adresse IPv4)
41 @ A IP4(GRESILLE)
42 agendav A IP4(GRESILLE)
43 ateliers A IP4(GRESILLE)
44 autoconfig A IP4(GRESILLE)
45 bicloud A IP4(GRESILLE)
46 burette A IP4(GRESILLE)
47 burette.atelier-etincelle A IP4(GRESILLE)
48 burette.autourducycle A IP4(GRESILLE)
49 burette.bretzselle A IP4(GRESILLE)
50 burette.changedechaine A IP4(GRESILLE)
51 burette.choisir A IP4(GRESILLE)
52 burette.convibicy A IP4(GRESILLE)
53 burette.cyclamaine A IP4(GRESILLE)
54 burette.cyclesetmanivelles A IP4(GRESILLE)
55 burette.cyclocoop A IP4(GRESILLE)
56 burette.cyclofficineangouleme A IP4(GRESILLE)
57 burette.dynamo A IP4(GRESILLE)
58 burette.etudesetchantiersidf A IP4(GRESILLE)
59 burette.eturecup A IP4(GRESILLE)
60 burette.labecaneajules A IP4(GRESILLE)
61 burette.lapetiterennes A IP4(GRESILLE)
62 burette.laptiterustine A IP4(GRESILLE)
63 burette.larouelibre A IP4(GRESILLE)
64 burette.lechatperche A IP4(GRESILLE)
65 burette.lesjantesdunord A IP4(GRESILLE)
66 burette.mig A IP4(GRESILLE)
67 burette.mobilidees A IP4(GRESILLE)
68 burette.ocivelo A IP4(GRESILLE)
69 burette.ohcyclo A IP4(GRESILLE)
70 burette.placeauvelo A IP4(GRESILLE)
71 burette.ptitvelo A IP4(GRESILLE)
72 burette.recupr A IP4(GRESILLE)
73 burette.repeyre A IP4(GRESILLE)
74 burette.rouepet A IP4(GRESILLE)
75 burette.tousdeuxroues A IP4(GRESILLE)
76 burette.txirrindola A IP4(GRESILLE)
77 burette.velocampus_nantes A IP4(GRESILLE)
78 burette.velorutiontoulouse A IP4(GRESILLE)
79 burette.velosenville A IP4(GRESILLE)
80 burettes A IP4(GRESILLE)
81 caldavzap A IP4(GRESILLE)
82 cartes A IP4(GRESILLE)
83 changedechaine A IP4(GRESILLE)
84 chatperche A IP4(GRESILLE)
85 clavette-grenoble A IP4(GRESILLE)
86 clavette-lyon A IP4(GRESILLE)
87 clavette-stephanoise A IP4(GRESILLE)
88 cyclocamp A IP4(GRESILLE)
89 cyclocoop A IP4(GRESILLE)
90 cyclofficinedangouleme A IP4(GRESILLE)
91 davical A IP4(GRESILLE)
92 demo.burette A IP4(GRESILLE)
93 fanout A IP4(GRESILLE)
94 formations A IP4(GRESILLE)
95 git A IP4(GRESILLE)
96 imap A IP4(GRESILLE)
97 lesjantesdunord A IP4(GRESILLE)
98 mail A IP4(GRESILLE)
99 mx A IP4(GRESILLE)
100 notifications A IP4(GRESILLE)
101 ns A IP4(GRESILLE)
102 nuage A IP4(GRESILLE)
103 pop A IP4(GRESILLE)
104 ptitvelo A IP4(GRESILLE)
105 pre-rencontres A IP4(GRESILLE)
106 questionnaires A IP4(GRESILLE)
107 ra 60 A IP4(GRESILLE)
108 remorque A IP4(GRESILLE)
109 rencontres A IP4(GRESILLE)
110 rouepet A IP4(GRESILLE)
111 roundcube A IP4(GRESILLE)
112 shell A IP4(GRESILLE)
113 smtp A IP4(GRESILLE)
114 stats A IP4(GRESILLE)
115 submission A IP4(GRESILLE)
116 sympa A IP4(GRESILLE)
117 sympa.chatperche A IP4(GRESILLE)
118 sympa.cyclocoop A IP4(GRESILLE)
119 sympa.etudesetchantiers A IP4(GRESILLE)
120 sympa.lesjantesdunord A IP4(GRESILLE)
121 sympa.ptitvelo A IP4(GRESILLE)
122 sympa.velosenville A IP4(GRESILLE)
123 sympa.vieuxbiclou A IP4(GRESILLE)
124 tandem A IP4(MNEILHC)
125 velocampus A IP4(GRESILLE)
126 velosenville A IP4(GRESILLE)
127 www A IP4(GRESILLE)
128
129 ; ENREGISTREMENTS « CNAME » (Canonical NAME)
130 ; NOTE : l'utilisation de CNAME n'est judicieuse que si la ressource pointée
131 ; n'est pas sous notre contrôle. Par exemple,
132 ; foo.example.org. CNAME foo.example.com.
133 ; Dans le cas contraire, le seul résultat est un traffic réseau accru,
134 ; et l'emploi de macros est préférable.
135 ; ```You keep using CNAME records. I do not think they mean what you think they mean.'''
136 forge CNAME git
137
138 ; ENREGISTREMENTS « MX » (Mail eXchange)
139 ; NOTE : le reverse et le forward associés au nom donné à un enregistrement MX
140 ; devraient correspondre. Certains antispams le vérifient, et certains (rares) admins
141 ; bloquent même au niveau de la session SMTP si il ne correspond pas.
142 @ MX 5 mx
143 ;@ MX 10 NAME(LAUTRENET_MX2)
144
145 ; ENREGISTREMENTS « NS » (Name Server)
146 @ NS ns
147 @ NS ns6.gandi.net.
148
149 ; ENREGISTREMENTS "PTR" (IPv* -> name)
150 ; NOTE : Dans le cas d’hébergement massif de domaines virtuels derrière une même adresse IP,
151 ; il est recommandé de ne pas appliquer sans discernement la règle un enregistrement PTR
152 ; par enregistrement A (ou AAAA) : le nombre des champs PTR à renvoyer pouvant faire dépasser
153 ; à la réponse la taille des paquets UDP et entraîner l’utilisation du protocole TCP
154 ; (plus coûteux en resources) pour envoyer la réponse à la requête DNS ;
155 ; cf. section "4.4 Usage and deployment considerations" du document :
156 ; http://tools.ietf.org/html/draft-ietf-dnsop-reverse-mapping-considerations
157
158 ; ENREGISTREMENTS "SPF" (Sender Policy Framework)
159 @ 3600 IN SPF "v=spf1 mx ip4:IP4(GRESILLE) ~all"
160 @ 3600 IN TXT "v=spf1 mx ip4:IP4(GRESILLE) ~all"
161
162 ; ENREGISTREMENTS « SRV » (SeRVice)
163 _git._tcp.git 18000 IN SRV 0 0 9418 git
164
165 ; ENREGISTREMENTS « SSHFP » (Secure SHell FingerPrint)
166 esyscmd(sudo ssh-keygen -r @)
167
168 ; key#2 4096 bits, i=heureux-cyclage, d=heureux-cyclage.org, /var/lib/amavis/dkim/heureux-cyclage.org.pem
169 heureux-cyclage._domainkey.heureux-cyclage.org. 3600 TXT (
170 "v=DKIM1; p="
171 "MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA4RebbH09kB/+T0pXJ7DM"
172 "VqMg6steXKg/zGcNSpFqYFXdyTCzBL8OGcT28lVLwKkJwPZhdDwPP1ZNxo2y6iQ/"
173 "08mdMhhUYLvcQXP2tPYXWEF7OdCfvG8RgUjrUqTkWCsjOQQ5YV3gpHUB34vSa9C9"
174 "n7NTXLpQ3UwYlhYHEOOcBITa8bSw5wPMMX2y/JN9kBDUruhhviP2ZJhR2azTbiH8"
175 "ICdel52xtjSDVROsLEZp4hlr0uTgo4Vfm8HDB9w1NVZXOD42fn/fyVEQlPM4Msqn"
176 "r9srt/C/DRrfv5P4wqxAZSS6EpABEuYq46IpuXNaPdeH//P/9fo+8QhyFbuNX7e7"
177 "mdABIPI0AdDvQyDya2RSZaA8kMUrXEsc/ysLq8Tv/XsTPQns39T4niH5SCwsa9rt"
178 "fCAopJQHXT3i5p3FYMxB/1CI8eghbsC+gOlrdWBT0pxnjDmRLZhxyNu99xT+NpYp"
179 "VSn0Yzn+v6XoyGk/iBhhKThghK+CVn5NVntkcG5ILjnwaKLj6GJHhNILgHe2WhGa"
180 "IMyBpMcIG1a47aYd7BemOa7siytTZlFN5SC9i7JT9FHep0h3krILUudRRWLWwF+T"
181 "pAyDcOaQZYn3qZbCUST7SjojsSOUfux2qxFr7wshFHTxw5y498DVOb6iWAguQNNT"
182 "raonAk7EKTxiZCscfeziwVkCAwEAAQ==")