Commit 9b8bf60a authored by Valentin Samir's avatar Valentin Samir
Browse files

[config.dns] On utilise un dictionnaire pour les dns recursifs

parent f3b41011
......@@ -44,6 +44,13 @@ zones_reverse = config.NETs["all"] + config.NETs["adm"] + config.NETs["personnel
#: Résolution inverse v6
zones_reverse_v6 = config.prefix['fil'] + config.prefix['wifi'] + config.prefix ['adm'] + config.prefix['personnel-ens'] # à modifier aussi dans bind.py
#: Serveurs DNS récursifs : charybde et gordon et nem
recursiv = ['138.231.136.98', '138.231.136.152', '138.231.136.247']
recursiv_adm = ['10.231.136.98', '10.231.136.152', '10.231.136.247']
#: Serveurs DNS récursifs :
recursiv = {
'fil' : ['138.231.136.98', '138.231.136.152', '138.231.136.247'],
'wifi' : ['138.231.136.98', '138.231.136.152', '138.231.136.247'],
'adm' : ['10.231.136.98', '10.231.136.152', '10.231.136.247'],
'gratuit' : ['10.42.0.10'],
'accueil' : ['10.51.0.10'],
'isolement' : ['10.52.0.10'],
'personnel-ens' : ['10.2.9.10', '138.231.136.98', '138.231.136.152', '138.231.136.247'],
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment