Adding custom DNS name servers via API

EVH
New here

Adding custom DNS name servers via API

I'm confused on how to do this. I can add 1 server without issue but I can't seem to add multiple. In the API documentation it says to "newline separated string of IP addresses or domain names". I've tried adding the headers in a few different ways and they don't seem to work. 

 

"dnsNameservers":

 

                                 "8.8.8.8\n8.8.8.4"

                                 "8.8.8.8,8.8.8.4"

                                 "8.8.8.8","8.8.8.4"

                                 "8.8.8.8 8.8.8.4"

1 Reply 1
ww
Kind of a big deal
Kind of a big deal

response = dashboard.appliance.updateNetworkApplianceVlan(
network_id, vlan_id,
dnsNameservers='8.8.8.8\n8.8.4.4'
)
Get notified when there are additional replies to this discussion.