crans_bcfg2/Python/etc/bind/named.conf.notify
Valentin Samir 67335a2014 [bind] On met les récursifs en slave sur le reverse de tv.crans.org parce que sinon on a un proof failed dnssec
Ignore-this: bd02c0cc20f580ac5a9bdc55e0eb70d9

darcs-hash:20130129225923-3a55a-32ba8bcf6cb03bef6dba9d693aa78edb817e6888.gz
2013-01-29 23:59:23 +01:00

22 lines
403 B
Python

# -*- mode: python; encoding: utf-8 -*-
info["owner"] = "root"
info["group"] = "bind"
info["perms"] = 0644
comment_start = "//"
header("Options de Bind9")
import config
def notify(ips):
print " also-notify { \n %s;\n };" % ';\n '.join(ips)
if has("dns-tv"):
notify(config.dns.slaves_tv + config.dns.recursiv)
if has("dns-primary"):
notify(config.dns.slaves + [config.dns.parent])