From 04b9ee51cb91cc19fe99149ebe959fc930d93e7e Mon Sep 17 00:00:00 2001 From: Marc Date: Mon, 20 Oct 2014 10:57:16 +0000 Subject: [PATCH] Fixed SRV subdomains --- orchestra/apps/domains/backends.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/orchestra/apps/domains/backends.py b/orchestra/apps/domains/backends.py index 723871a1..acd1eb42 100644 --- a/orchestra/apps/domains/backends.py +++ b/orchestra/apps/domains/backends.py @@ -91,7 +91,7 @@ class Bind9MasterDomainBackend(ServiceController): 'zone_path': settings.DOMAINS_ZONE_PATH % {'name': domain.name}, 'subdomains': domain.subdomains.all(), 'banner': self.get_banner(), - 'slaves': '; '.join(self.get_slaves(domain)) or 'none', + 'slaves': '; '.join(self.get_slaves(domain)) or '"none"', } context.update({ 'conf_path': settings.DOMAINS_MASTERS_PATH, @@ -101,6 +101,7 @@ class Bind9MasterDomainBackend(ServiceController): type master; file "%(zone_path)s"; allow-transfer { %(slaves)s; }; + also-notify { %(slaves)s; }; };""" % context) }) return context