mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-22 02:17:26 +00:00
show custom DNS records in the control panel too, fixes #155
This commit is contained in:
parent
a32806da32
commit
ed8ce16fb5
@ -670,8 +670,9 @@ def build_recommended_dns(env):
|
|||||||
ret = []
|
ret = []
|
||||||
domains = get_dns_domains(env)
|
domains = get_dns_domains(env)
|
||||||
zonefiles = get_dns_zones(env)
|
zonefiles = get_dns_zones(env)
|
||||||
|
additional_records = get_custom_dns_config(env)
|
||||||
for domain, zonefile in zonefiles:
|
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
|
# remove records that we don't dislay
|
||||||
records = [r for r in records if r[3] is not False]
|
records = [r for r in records if r[3] is not False]
|
||||||
|
Loading…
Reference in New Issue
Block a user