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 ], }