"type": "host-local",
"subnet": "10.1.1.0/24"
},
- "dns": [
- "8.8.8.8",
- "8.8.4.4"
- ]
+ "dns": {
+ "nameservers": [ "10.1.1.1", "8.8.8.8" ]
+ }
}
## Network configuration reference
* `ipMasq` (boolean, optional): set up IP Masquerade on the host for traffic originating from this network and destined outside of it. Defaults to false.
* `mtu` (integer, optional): explicitly set MTU to the specified value. Defaults to value chosen by the kernel.
* `ipam` (dictionary, required): IPAM configuration to be used for this network.
-* `dns` (string array, optional): name servers to return as is in the [Result](/SPEC.md#result). Defaults to empty list.
+* `dns` (dictionary, optional): DNS information to return as described in the [Result](/SPEC.md#result).