Modifications : etc/nsd3/nsd.conf -> etc/nsd/nsd.conf
[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 divert(0)dnl
26 $TTL 1d ; TTL (Time To Live) par défaut pour les enregistrements
27
28 ; ENREGISTREMENT « SOA » (Start Of Authority).
29 @ SOA ns hostmaster (
30 ZONE_SERIAL ; Serial number.
31 1d ; Refresh.
32 15m ; Retry.
33 2592000 ; Expire.
34 1d ; TTL (Time To Live) minimum.
35 )
36
37 ; ENREGISTREMENTS « A » (DNS -> adresse IPv4)
38 @ A IP4(GRESILLE)
39 agendav A IP4(GRESILLE)
40 ateliers A IP4(GRESILLE)
41 autoconfig A IP4(GRESILLE)
42 bicloud A IP4(GRESILLE)
43 burette A IP4(GRESILLE)
44 burette.atelier-etincelle A IP4(GRESILLE)
45 burette.autourducycle A IP4(GRESILLE)
46 burette.bretzselle A IP4(GRESILLE)
47 burette.changedechaine A IP4(GRESILLE)
48 burette.convibicy A IP4(GRESILLE)
49 burette.cyclamaine A IP4(GRESILLE)
50 burette.cyclesetmanivelles A IP4(GRESILLE)
51 burette.cyclocoop A IP4(GRESILLE)
52 burette.cyclofficineangouleme A IP4(GRESILLE)
53 burette.dynamo A IP4(GRESILLE)
54 burette.etudesetchantiersidf A IP4(GRESILLE)
55 burette.eturecup A IP4(GRESILLE)
56 burette.labecaneajules A IP4(GRESILLE)
57 burette.lapetiterennes A IP4(GRESILLE)
58 burette.laptiterustine A IP4(GRESILLE)
59 burette.larouelibre A IP4(GRESILLE)
60 burette.lechatperche A IP4(GRESILLE)
61 burette.mig A IP4(GRESILLE)
62 burette.mobilidees A IP4(GRESILLE)
63 burette.ocivelo A IP4(GRESILLE)
64 burette.ohcyclo A IP4(GRESILLE)
65 burette.ptitvelo A IP4(GRESILLE)
66 burette.recupr A IP4(GRESILLE)
67 burette.repeyre A IP4(GRESILLE)
68 burette.rouepet A IP4(GRESILLE)
69 burette.tousdeuxroues A IP4(GRESILLE)
70 burette.txirrindola A IP4(GRESILLE)
71 burette.velocampus_nantes A IP4(GRESILLE)
72 burette.velorutiontoulouse A IP4(GRESILLE)
73 burette.velosenville A IP4(GRESILLE)
74 burettes A IP4(GRESILLE)
75 caldavzap A IP4(GRESILLE)
76 cartes A IP4(GRESILLE)
77 changedechaine A IP4(GRESILLE)
78 chatperche A IP4(GRESILLE)
79 clavette-grenoble A IP4(GRESILLE)
80 clavette-lyon A IP4(GRESILLE)
81 cyclocamp A IP4(GRESILLE)
82 cyclocoop A IP4(GRESILLE)
83 cyclofficinedangouleme A IP4(GRESILLE)
84 davical A IP4(GRESILLE)
85 demo.burette A IP4(GRESILLE)
86 fanout A IP4(GRESILLE)
87 formations A IP4(GRESILLE)
88 git A IP4(GRESILLE)
89 imap A IP4(GRESILLE)
90 lesjantesdunord A IP4(GRESILLE)
91 mail A IP4(GRESILLE)
92 mx A IP4(GRESILLE)
93 notifications A IP4(GRESILLE)
94 ns A IP4(GRESILLE)
95 pop A IP4(GRESILLE)
96 ptitvelo A IP4(GRESILLE)
97 questionnaires A IP4(GRESILLE)
98 ra 60 A IP4(GRESILLE)
99 remorque A IP4(GRESILLE)
100 rencontres A IP4(GRESILLE)
101 rouepet A IP4(GRESILLE)
102 roundcube A IP4(GRESILLE)
103 shell A IP4(GRESILLE)
104 smtp A IP4(GRESILLE)
105 stats A IP4(GRESILLE)
106 submission A IP4(GRESILLE)
107 sympa A IP4(GRESILLE)
108 sympa.cyclocoop A IP4(GRESILLE)
109 sympa.lesjantesdunord A IP4(GRESILLE)
110 sympa.ptitvelo A IP4(GRESILLE)
111 velocampus A IP4(GRESILLE)
112 velosenville A IP4(GRESILLE)
113 www A IP4(GRESILLE)
114
115 ; ENREGISTREMENTS « CNAME » (Canonical NAME)
116 ; NOTE : l'utilisation de CNAME n'est judicieuse que si la ressource pointée
117 ; n'est pas sous notre contrôle. Par exemple,
118 ; foo.example.org. CNAME foo.example.com.
119 ; Dans le cas contraire, le seul résultat est un traffic réseau accru,
120 ; et l'emploi de macros est préférable.
121 ; ```You keep using CNAME records. I do not think they mean what you think they mean.'''
122 forge CNAME git
123
124 ; ENREGISTREMENTS « MX » (Mail eXchange)
125 ; NOTE : le reverse et le forward associés au nom donné à un enregistrement MX
126 ; devraient correspondre. Certains antispams le vérifient, et certains (rares) admins
127 ; bloquent même au niveau de la session SMTP si il ne correspond pas.
128 @ MX 5 mx
129 ;@ MX 10 NAME(LAUTRENET_MX2)
130
131 ; ENREGISTREMENTS « NS » (Name Server)
132 @ NS ns
133 @ NS ns6.gandi.net.
134
135 ; ENREGISTREMENTS "PTR" (IPv* -> name)
136 ; NOTE : Dans le cas d’hébergement massif de domaines virtuels derrière une même adresse IP,
137 ; il est recommandé de ne pas appliquer sans discernement la règle un enregistrement PTR
138 ; par enregistrement A (ou AAAA) : le nombre des champs PTR à renvoyer pouvant faire dépasser
139 ; à la réponse la taille des paquets UDP et entraîner l’utilisation du protocole TCP
140 ; (plus coûteux en resources) pour envoyer la réponse à la requête DNS ;
141 ; cf. section "4.4 Usage and deployment considerations" du document :
142 ; http://tools.ietf.org/html/draft-ietf-dnsop-reverse-mapping-considerations
143
144 ; ENREGISTREMENTS "SPF" (Sender Policy Framework)
145 @ 3600 IN SPF "v=spf1 mx ip4:IP4(GRESILLE) ~all"
146 @ 3600 IN TXT "v=spf1 mx ip4:IP4(GRESILLE) ~all"
147
148 ; ENREGISTREMENTS « SRV » (SeRVice)
149 _git._tcp.git 18000 IN SRV 0 0 9418 git
150
151 ; ENREGISTREMENTS « SSHFP » (Secure SHell FingerPrint)
152 esyscmd(sudo ssh-keygen -r @)