
Ignore-this: bd02c0cc20f580ac5a9bdc55e0eb70d9 darcs-hash:20130129225923-3a55a-32ba8bcf6cb03bef6dba9d693aa78edb817e6888.gz
22 lines
403 B
Python
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])
|