05-19-2022 12:37 AM
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
Solved! Go to Solution.
05-19-2022 01:17 PM
I haven't checked the documentation, but I could see the dnsNameservers needing to be an array rather than just a string.
05-19-2022 01:17 PM
I haven't checked the documentation, but I could see the dnsNameservers needing to be an array rather than just a string.
05-19-2022 01:37 PM
I realized that I must create vlan , then modify to add settings. Create does not support DNS , DHCP settings.
Thanks
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide