From ed8ce16fb5b9561b33606d780d29858cac5725bb Mon Sep 17 00:00:00 2001 From: Joshua Tauberer Date: Mon, 25 Aug 2014 23:35:44 +0000 Subject: [PATCH] show custom DNS records in the control panel too, fixes #155 --- management/dns_update.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/management/dns_update.py b/management/dns_update.py index eaee654c..343436a7 100755 --- a/management/dns_update.py +++ b/management/dns_update.py @@ -670,8 +670,9 @@ def build_recommended_dns(env): ret = [] domains = get_dns_domains(env) zonefiles = get_dns_zones(env) + additional_records = get_custom_dns_config(env) for domain, zonefile in zonefiles: - records = build_zone(domain, domains, {}, env) + records = build_zone(domain, domains, additional_records, env) # remove records that we don't dislay records = [r for r in records if r[3] is not False]