create VLAN and dnsNameservers ?

Solved
MagnusA
Here to help

create VLAN and dnsNameservers ?

Hi , 

When I create a VLAN,  I cant specify Nameservers , no matter what I specify it gets always upstream_dns.

Any Ideas ?

 

A PUT afterwards works though .. 

 

endpoint used: "https://api.meraki.com/api/v1/networks/$networkId/appliance/vlans"

Payload:

 

{
    "name": "Trusted devices",
    "id": "1861",
    "applianceIp": "172.18.61.1",
    "subnet": "172.18.61.0/24",
    "reservedIpRanges":  [
        {
            "start":  "172.18.61.1",
            "end":  "172.18.61.20",
            "comment":  "x"
        }
    ],
"dnsNameservers": "192.168.0.20",
"dhcpHandling":  "Run a DHCP server",
"dhcpLeaseTime":  "1 day",
"dhcpBootOptionsEnabled":  false
}

 

 

regards // Magnus

1 Accepted Solution
PhilipDAth
Kind of a big deal
Kind of a big deal

I haven't checked the documentation, but I could see the dnsNameservers needing to be an array rather than just a string.

View solution in original post

2 Replies 2
PhilipDAth
Kind of a big deal
Kind of a big deal

I haven't checked the documentation, but I could see the dnsNameservers needing to be an array rather than just a string.

I realized that I must create vlan , then modify to add settings. Create does not support DNS , DHCP settings. 

Thanks 

 

Get notified when there are additional replies to this discussion.