Update a virtual network with the IP address of a DNS server

0 votes

Hi Team,

I have created a virtual network in Azure. Now I want to update the virtual network with the IP address of a DNS server. How can I do with the CLI commands?

Nov 12, 2020 in Azure by akhtar
• 38,180 points
94 views

1 answer to this question.

0 votes

Hi@akhtar,

You can update the virtual network according to your need. Sometimes it is required to update the properties of your network. You can use the following command to update the IP address.

$ az network vnet update -g MyResourceGroup -n MyVNet --dns-servers 10.2.0.8
answered Nov 12, 2020 by MD
• 95,240 points

Related Questions In Azure

0 votes
1 answer

I am getting a network related error saying "cannot connect to a server". need help here.

Actually i got the same error, it ...READ MORE

answered Apr 26, 2018 in Azure by null_void
• 3,220 points
299 views
0 votes
1 answer

Error: Install-Module : The term 'Install-Module' is not recognized as the name of a cmdlet

Since you are using the lower version ...READ MORE

answered Jun 20, 2018 in Azure by null_void
• 3,220 points
2,977 views
0 votes
1 answer

How to get the list of names of Azure blob files in a container?

We can get some additional info like Size, ...READ MORE

answered Jun 27, 2018 in Azure by club_seesharp
• 3,450 points
11,514 views
0 votes
1 answer

Any simple way to add a Reserved IP address to an existing VM?

At Build 2015 they announced this is ...READ MORE

answered Jul 3, 2018 in Azure by null_void
• 3,220 points
208 views
0 votes
1 answer

What is Azure Cloud Service?

Azure Cloud Services is an example of ...READ MORE

answered Jan 10, 2020 in Azure by Sirajul
• 59,090 points
273 views
0 votes
2 answers

Azure DevOps and its need?

Azure DevOps is a hosted service providing ...READ MORE

answered Aug 28, 2020 in Azure by nbavis
• 380 points
391 views
0 votes
1 answer

What is Azure stack?

Azure Stack is a hybrid cloud computing software solution ...READ MORE

answered Jan 10, 2020 in Azure by Sirajul
• 59,090 points
246 views
0 votes
1 answer

How is Azure Cosmos db different from an Azure SQL db?

Azure Cosmos DB is Microsoft’s globally distributed database ...READ MORE

answered Jan 10, 2020 in Azure by Sirajul
• 59,090 points
1,155 views
0 votes
1 answer

How to list the subscriptions of a Azure account?

Hi@akhtar, You can get all the subscriptions for ...READ MORE

answered Nov 10, 2020 in Azure by MD
• 95,240 points
86 views
0 votes
1 answer

How to create a virtual network in Azure?

Hi@akhtar, An Azure Virtual Network (VNet) is a representation of ...READ MORE

answered Nov 12, 2020 in Azure by MD
• 95,240 points
81 views