I have an azure container instance that knows a VM by IP, but not by hostname. I can solve this by doing the echo ipVM hostnameVM > /etc/hosts. But is there any way to set the VNET DNS Server? If so, how do I access DNS servers Default (Azure-provided)?
If you want to modify the DNS server of a Virtual network
Go to your Container Instance and select the Resource Group link.
Then once at the resource group level select the Virtual Network resource
Once there, under settings you will see DNS servers
This will give you access to the DNS servers and you can specify your own instead of using the default Azure ones.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.