mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-03-09 16:37:23 +01:00
Now accepts one or more secondary nameservers. Works from the web interface.
This commit is contained in:
@@ -229,7 +229,7 @@ def dns_get_secondary_nameserver():
|
||||
def dns_set_secondary_nameserver():
|
||||
from dns_update import set_secondary_dns
|
||||
try:
|
||||
return set_secondary_dns(request.form.get('hostname'), env)
|
||||
return set_secondary_dns(request.form.get('hostname').split(","), env)
|
||||
except ValueError as e:
|
||||
return (str(e), 400)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user