5 define(`ALIAS', `define($1`_IP4', $2`'_IP4)')
6 define(`MAKE_GETTER', `define(`$1', $`'1`_'$`'0)')
9 define(`FQDN', `NAME($1).ZONE_DOMAIN')
11 * hébergeur : gresille.org
12 define(`GRESILLE_IP4', `IP4(LOCAL)')
13 define(`GRESILLE_MX_NAME', `mx.ZONE_DOMAIN.')
15 * hébergeur : kimsufi.com
16 define(`KIMSUFI_IP4', `91.121.198.103')
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')
26 $TTL 1d ; TTL (Time To Live) par défaut pour les enregistrements
28 ; ENREGISTREMENT « SOA » (Start Of Authority).
30 ZONE_SERIAL ; Serial number.
34 1d ; TTL (Time To Live) minimum.
37 ; ENREGISTREMENTS « A » (DNS -> adresse IPv4)
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.cyclocoop A IP4(GRESILLE)
45 burette.ptitvelo A IP4(GRESILLE)
46 burette.velosenville A IP4(GRESILLE)
47 caldavzap A IP4(GRESILLE)
48 cartes A IP4(LAUTRENET)
49 cyclocamp A IP4(GRESILLE)
50 cyclocoop A IP4(GRESILLE)
51 davical A IP4(GRESILLE)
52 demo.burette A IP4(GRESILLE)
54 fanout A IP4(GRESILLE)
55 formations A IP4(LAUTRENET)
60 notifications A IP4(GRESILLE)
63 ptitvelo A IP4(GRESILLE)
64 questionnaires A IP4(GRESILLE)
66 remorque A IP4(GRESILLE)
67 roundcube A IP4(GRESILLE)
71 submission A IP4(GRESILLE)
73 sympa.cyclocoop A IP4(GRESILLE)
74 sympa.ptitvelo A IP4(GRESILLE)
75 velosenville A IP4(GRESILLE)
78 ; ENREGISTREMENTS « CNAME » (Canonical NAME)
79 ; NOTE : l'utilisation de CNAME n'est judicieuse que si la ressource pointée
80 ; n'est pas sous notre contrôle. Par exemple,
81 ; foo.example.org. CNAME foo.example.com.
82 ; Dans le cas contraire, le seul résultat est un traffic réseau accru,
83 ; et l'emploi de macros est préférable.
84 ; ```You keep using CNAME records. I do not think they mean what you think they mean.'''
87 ; ENREGISTREMENTS « MX » (Mail eXchange)
88 ; NOTE : le reverse et le forward associés au nom donné à un enregistrement MX
89 ; devraient correspondre. Certains antispams le vérifient, et certains (rares) admins
90 ; bloquent même au niveau de la session SMTP si il ne correspond pas.
92 ;@ MX 10 NAME(LAUTRENET_MX2)
94 ; ENREGISTREMENTS « NS » (Name Server)
98 ; ENREGISTREMENTS "PTR" (IPv* -> name)
99 ; NOTE : Dans le cas d’hébergement massif de domaines virtuels derrière une même adresse IP,
100 ; il est recommandé de ne pas appliquer sans discernement la règle un enregistrement PTR
101 ; par enregistrement A (ou AAAA) : le nombre des champs PTR à renvoyer pouvant faire dépasser
102 ; à la réponse la taille des paquets UDP et entraîner l’utilisation du protocole TCP
103 ; (plus coûteux en resources) pour envoyer la réponse à la requête DNS ;
104 ; cf. section "4.4 Usage and deployment considerations" du document :
105 ; http://tools.ietf.org/html/draft-ietf-dnsop-reverse-mapping-considerations
107 ; ENREGISTREMENTS "SPF" (Sender Policy Framework)
108 @ 3600 IN SPF "v=spf1 mx ip4:IP4(GRESILLE) a:NAME(LAUTRENET_SPF) a:NAME(LAUTRENET_SPF2) -all"
109 @ 3600 IN TXT "v=spf1 mx ip4:IP4(GRESILLE) a:NAME(LAUTRENET_SPF) a:NAME(LAUTRENET_SPF2) -all"
111 ; ENREGISTREMENTS « SRV » (SeRVice)
112 _git._tcp.git 18000 IN SRV 0 0 9418 git
114 ; ENREGISTREMENTS « SSHFP » (Secure SHell FingerPrint)
115 esyscmd(sudo ssh-keygen -r @)