Answered by:
How to create a new VM and use an existing DNS?

Question
-
Hello,
I'm having trouble creating a new VM on azure and applying an existing DNS to it.
is there an option somewhere in the azure portal ?
Regards,
Avishai.
Tuesday, October 6, 2015 8:27 AM
Answers
-
Hi Avishai,
Thanks for posting here.
When you create a standalone VM, Cloud service is created for you automatically. When you delete the VM, it does not automatically delete cloud service. After you delete the VM, if you do not have any other VMs using the cloud service and you want to use the same DNS name for your new VM, delete the cloud service and create a new VM with earlier DNS name.
Hope this helps!
Regards.
- Proposed as answer by Shreya Hajela Wednesday, October 7, 2015 2:57 AM
- Marked as answer by Ed Price - MSFTMicrosoft employee Thursday, February 25, 2016 10:26 AM
Tuesday, October 6, 2015 10:13 AM -
Hi Avishai_kd,
Where does the DNS server reside, in Azure or on premise? If it's Azure, you will have to create the VM in the same VNET as the DNS server that already exists in Azure. You shouldn't have to do anything else apart from that.
Regards,
Sean- Proposed as answer by Sean McDonnell Tuesday, October 6, 2015 3:41 PM
- Marked as answer by Ed Price - MSFTMicrosoft employee Thursday, February 25, 2016 10:26 AM
Tuesday, October 6, 2015 3:37 PM -
Have a look at this reference. If your DNS server is on-premise, be sure to configure proper network connectivity between your on-premise network and your Azure VM. If it is on Azure, the VM has to be on the same VNet as the DNS server
How To Configure DNS Server in Microsoft Azure
Edwin Sarmiento SQL Server MVP | Microsoft Certified Master/Solutions Master
Blog | Twitter | LinkedIn
Learn SQL Server High Availability and Disaster Recovery- Proposed as answer by Shreya Hajela Thursday, October 8, 2015 2:53 AM
- Marked as answer by Ed Price - MSFTMicrosoft employee Thursday, February 25, 2016 10:26 AM
Wednesday, October 7, 2015 5:44 PM
All replies
-
Hi Avishai,
Thanks for posting here.
When you create a standalone VM, Cloud service is created for you automatically. When you delete the VM, it does not automatically delete cloud service. After you delete the VM, if you do not have any other VMs using the cloud service and you want to use the same DNS name for your new VM, delete the cloud service and create a new VM with earlier DNS name.
Hope this helps!
Regards.
- Proposed as answer by Shreya Hajela Wednesday, October 7, 2015 2:57 AM
- Marked as answer by Ed Price - MSFTMicrosoft employee Thursday, February 25, 2016 10:26 AM
Tuesday, October 6, 2015 10:13 AM -
Hi Avishai_kd,
Where does the DNS server reside, in Azure or on premise? If it's Azure, you will have to create the VM in the same VNET as the DNS server that already exists in Azure. You shouldn't have to do anything else apart from that.
Regards,
Sean- Proposed as answer by Sean McDonnell Tuesday, October 6, 2015 3:41 PM
- Marked as answer by Ed Price - MSFTMicrosoft employee Thursday, February 25, 2016 10:26 AM
Tuesday, October 6, 2015 3:37 PM -
Have a look at this reference. If your DNS server is on-premise, be sure to configure proper network connectivity between your on-premise network and your Azure VM. If it is on Azure, the VM has to be on the same VNet as the DNS server
How To Configure DNS Server in Microsoft Azure
Edwin Sarmiento SQL Server MVP | Microsoft Certified Master/Solutions Master
Blog | Twitter | LinkedIn
Learn SQL Server High Availability and Disaster Recovery- Proposed as answer by Shreya Hajela Thursday, October 8, 2015 2:53 AM
- Marked as answer by Ed Price - MSFTMicrosoft employee Thursday, February 25, 2016 10:26 AM
Wednesday, October 7, 2015 5:44 PM -
Hello Sean McDonnell,
I hope that the response from Edwin M Sarmiento answers your question, please let us know and we will be happy to answer.
Thanks,
Syed Irfan HussainWednesday, October 14, 2015 2:53 PM -
Hi Syed,
This was not my question, I was posting a response.
Regards,
SeanWednesday, October 14, 2015 3:00 PM