I have a problem with using --dns-servers flag in az cli. When I try to update more than one DNS server it gets broken
az network vnet update \
--name $VNET_name \
--subscription $SUBSCRIPTION \
--resource-group $RGRP_name \
--dns-servers "${LOCATION[3]} ${LOCATION[4]}"
the output:
IP address is not valid '0.0.0.1 0.0.0.2'
The MS documentation says:
--dns-servers
Space-separated list of DNS server IP addresses.
CodePudding user response:
Your DNS IP addresses '0.0.0.1 0.0.0.2' are not usable as a real IP addresses.