From 8ab3238a78e77e6e6e4a06d9ffd8e7c035deec2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre-Elliott=20B=C3=A9cue?= Date: Tue, 3 Mar 2015 14:08:51 +0100 Subject: [PATCH] Il faut utiliser les shortnames pour les serveurs, dans bind. --- gestion/gen_confs/bind.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gestion/gen_confs/bind.py b/gestion/gen_confs/bind.py index 5249a0ba..96c63ad1 100755 --- a/gestion/gen_confs/bind.py +++ b/gestion/gen_confs/bind.py @@ -615,7 +615,7 @@ class dns(gen_config): NON_CLONABLE_SPFs = { 'crans.org': [ - TXT(_mx, 'v=spf1 mx:crans.org ~all') for _mx in config.dns.MXs + TXT(short_name(_mx), 'v=spf1 mx:crans.org ~all') for _mx in config.dns.MXs ], }