Quantcast
Viewing all articles
Browse latest Browse all 6513

Inability to update DNS on in-use virtual network

Update: Issue has been identified. If you encounter this issue before the fix is deployed, please follow the steps below to update the DNS settings using the network configuration XML.

We are tracking an issue where the DNS settings do not update on an in-use virtual network.

If you are experiencing this issue, please reply to this forum thread with exactly how it is reproducing for you (Save button doesn't light up, error when hitting Save, Save button appears to work but new DNS settings are not persisted, etc.)

You should be able to workaround the issue by exporting the network configuration, editing it to add the DNS server, and importing it back.

  1. In the management portal, select Networks on the left, then select the Export button at the bottom. This will download aNetworkConfig.xml file which contains your subscription-wide virtual network settings.

  2. Open the downloaded NetworkConfig.xml in a text editor and add the<DnsServersRef> element like in the sample below. If you don't have a<DnsServers> element, you can add that here too, but you should've been able to add the DNS server using the management portal even though you are unable to specify it for a virtual network.

    After making the change, save the NetworkConfig.xml, then select +New,Networks, Virtual Network, Import Configuration, and browse to the NetworkConfig.xml to import it.

    Note that the schema for the NetworkConfig.xml is available at:

    http://msdn.microsoft.com/en-us/library/windowsazure/jj157100.aspx

<?xml version="1.0" encoding="utf-8"?><NetworkConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/ServiceHosting/2011/07/NetworkConfiguration"><VirtualNetworkConfiguration><Dns><DnsServers><DnsServer name="MyDNSServer" IPAddress="10.0.0.4" /></DnsServers></Dns><VirtualNetworkSites><VirtualNetworkSite name="MyVNET" AffinityGroup="MyAG"><AddressSpace><AddressPrefix>10.0.0.0/20</AddressPrefix></AddressSpace><Subnets><Subnet name="Subnet-1"><AddressPrefix>10.0.0.0/23</AddressPrefix></Subnet></Subnets><DnsServersRef><DnsServerRef name="MyDNSServer" /></DnsServersRef></VirtualNetworkSite></VirtualNetworkSites></VirtualNetworkConfiguration></NetworkConfiguration>

 




Viewing all articles
Browse latest Browse all 6513

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>