How To setup Azure DNS server - azure

I want to change name-server of my domain, but Azure websites services only offer CNAME and not name-server, Somebody told me we can host our DNS on Azure using virtual machine,, So anybody here which can provide all steps to create DNS server on Azure and how to setup name-servers out of it?

This isn't a direct answer to your question but more a suggestion.
You can host your DNS records in Azure using Azure DNS (currently in public preview).
Here are some more information about the service https://azure.microsoft.com/en-us/services/dns/ and steps required to get the service working https://azure.microsoft.com/en-us/documentation/articles/dns-getstarted-create-dnszone/.

Related

Azure DNS for country Domain

I want to use my country domain which is mydomain.id after setting up in my azure DNS and domain provider, I still cannot validate my domain in App Service. I already double-check everything and I think my settings are already correct. Now I wonder can we use the Country domain in my azure DNS because I'm afraid if it's that the problem.
First of all, I assume you are using a public domain. As Martheen's comments mentioned that you just need to create DNS records to map your app service IP or hostname like webapp.azurewebsites.net in your DNS provider so that you can add custom domains in your App Service. This is tutorial.
Azure DNS is a hosting service for DNS domains that provides name resolution by using Microsoft Azure infrastructure. By hosting your domains in Azure, you can manage your DNS records by using the same credentials, APIs, tools, and billing as your other Azure services. You have the option to host your records on Azure DNS.
After adding the DNS records, you can use the local tool nslookup or websites https://dnschecker.org/ to check the DNS propagation. It can take up to 72 hours to propagate worldwide, although it typically takes a few hours.

Resolving On-Premise DNS and Google Cloud Internal DNS Together

I have a question about Cloud DNS or Cloud VPN i don't know which is exactly related with my issue. I have a on-premise network and i have an internal dns for this network which is example.int. I've connected via Cloud VPN this on-premise network with a Cloud VPC in my Google Cloud account.
Both of my resources can access each other correctly but my VM's in Google Cloud vpc does not resolve my dns servers in my on-premise network. For example i can access my on-premise server via it's ip adress from Google Cloud VM but i cannot access it via on-premise-vm-1.example.int domain.
If i use my on-premise dns nameservers in resolve.conf i can access on-premise server but in that case .c..internal dns adresses do not work in my vpc. I want to use both of them.
What should i do you think? I could not find any working documentation for it. I want to resolve my on-premise and google cloud internal dns zones from my gcloud vms. Is there any way to do it without making any change on resolve.conf file in my all servers?
Thanks in advance
I try to change Cloud DNS server policies but when i try to change alternate dns servers in there, i cannot access my .internal dnsses due to metadata server. However, i cannot even access my example.int dnsses.
I also try to adding example.int dns into Cloud VPC as private dns zone. It also did not work.
In this case I would recommend to use GCP Cloud DNS private forwarding and point your desired on-prem internal DNS name to your on-prem DNS server.
Be aware that the requests will be coming from 35.199.192.0/19, son in your VPN you should include this range to be reached from your GCP project.
A workaround might be to manually create an internal Cloud DNS zone on your GCP project and manually update your DNS registries there too, the downside about this is that any change you want to make you should make it on both sides.

Point Azure VM to Local DNS

I feel like I may be trying to sprint before I can even walk here, but I'm getting there! I've got a VM on Azure that I want to be able to access a local fileserver from. We have the following setup:
$COMPANY.net is the local domain, $COMPANY.com is the Azure domain. They are connected using Azure AD Connect, and the VM on Azure is using AADDS; we have a site to site vpn setup between Azure and our local network. I can put in the IP address of the local fileserver and reach it from the Azure VM, but I can't resolve the name if I try that. I believe it is a DNS problem, I need the Azure VM to use my local DNS server to resolve the host name rather than the AADDS addresses. Do I need to set up a DNS server on Azure that will point the requests to my local DNS, or is there another way?
Thank you!
You can specify DNS server for your Azure VM to use. The doc is quite large: https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/virtual-network/virtual-networks-name-resolution-for-vms-and-role-instances.md
Your name resolution needs might go beyond the features provided by Azure. For example, you might need to use Microsoft Windows Server Active Directory domains, resolve DNS names between virtual networks. To cover these scenarios, Azure provides the ability for you to use your own DNS servers.

Configure a SSL cert and CNAME on website run on Azure IaaS, VM or cloud service?

We have an website running on a Azure VM, the VM shares the same virtual network and cloud service with bunch of other servers, it is also reserved a public internet IP address. We need to configure our domain (***.abcd.com) and the SSL to the website. What's the best practice to do this?
With my limited knowledge of Azure, I was thinking to configure the CNAME to the static public IP then configure the SSL on the IIS. However, I was told to configure the SSL cert on the cloud service, also point the CNAME to the cloud service as well.
Please help, thanks!
I think you are very confused about the differences of VMs, Cloud Services and Websites. If you have a VM, all you need to do is:
Create a record type A (host) in your public DNS server that points to your VM Cloud Service VIP.
Inside your VM, setup your IIS/Apache or whatever for SSL.
Add HTTPS endpoint
Although every VM has a Cloud Service, there's a big difference in deploying an aplication as a Cloud Service and the Cloud Service associated with your VM.
More info here:
http://azure.microsoft.com/en-us/documentation/articles/choose-web-site-cloud-service-vm/
Tip: You said you have a VM sharing a cloud service with a bunch of other servers. If all those VMs are not sharing the same core service, they should be running on their own Cloud Service.

Ubuntu in Azure DNS Name Change

I was wondering if I could change the DNS name on one of our azure servers from ######.cloudapp.net to mail.flyboeingva.org?
If so, how would I go about doing this?
Yes you can!
follow the tutorial Configure a custom domain name for Azure cloud service. Further more, if you are going to host e-mail server on azure, you may also want to:
Reserve an IP Address for your cloud service (your VM runs in a cloud service, don't get confused by the terms)
Register Reverse DNS record (PTR) for your cloud service / custom domain

Resources