diff --git a/Python/etc/bind/named.conf.options b/Python/etc/bind/named.conf.options index ab76764..9894a74 100644 --- a/Python/etc/bind/named.conf.options +++ b/Python/etc/bind/named.conf.options @@ -45,7 +45,7 @@ if not has("dns-secondary-no-forward"): @ if not has("vlan-radin"): @ allow-recursion {"localnets"; "cransadm"; "crans";}; -else +else: @ allow-recursion {"localnets"; "cransadm"; "crans"; "radins";}; @}; diff --git a/etc/python/ip.py b/etc/python/ip.py index 8344e20..65adbff 100644 --- a/etc/python/ip.py +++ b/etc/python/ip.py @@ -21,7 +21,7 @@ def admip(): return admipof(hostname) def radinip(): - if has("vlan-radin"):: + if has("vlan-radin"): return '10.42.0.1' else: raise NotImplementedError, "Ce serveur n'a rien à faire sur le VLAN radin"