mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-03-14 17:27:23 +01:00
Initial backend changes to make it possible to have one or more secondary name servers
This commit is contained in:
committed by
Joshua Tauberer
parent
d08a3095a9
commit
09133c8f59
@@ -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