We are transferring a site from Rackspace to Google Compute. I have the instance I need and have been working with it. I want to set up the DNS zone and records in Google ahead of the actual move if possible as we have many CNAME records for dynamic sub-domains that I will need to key in (I've looked into automating the DNS record transfer but it does not transfer the sub-domain records). What records can I set up ahead of time?
Thank you,
Sally
You can set up DNS records in the GCP zone ahead of time, so long as they will not conflict with your existing records. Otherwise, it may be best to wait and do the full zone file migration, i.e., pick a time and do it all at once, and exactly copy your current records over. Please take a look at this GCP documentation regarding migration to Cloud DNS [1] that describes how to complete the necessary steps: creating a managed zone for your domain, importing your existing DNS configuration, and updating your registrar's name service records. Also, this document [2] provides a simple example of creating a managed zone, and then setting up Address (A) and Canonical Name (CNAME) records for the domain. As for subdomains, it would really depend on if they are resident in the main zone or not. If not, then you would also need to migrate the subdomain zones as well (in the same process). Hope this helps.
[1] https://cloud.google.com/dns/docs/migrating
[2] https://cloud.google.com/dns/docs/quickstart
Related
I am trying to add a DNS TXT record to my domain that i bought, yet the company I bought it from doesn't have an option to add DNS records in their user interface..
Is there a way I can add records using cmd or an external software?
My domain is found in the WhoIs system and the registrar information is the following:
registrar name: Peligon Ltd
registrar info: http://www.webline.co.il/
I need it to approve my domain from firebase
Your best bet is to point your domain nameservers to Cloudflare. Create a free account on Cloudflare and add your domain. You will be given two nameservers that will need to be configured by the registrar. Even if there's no UI, they should still be able to configure this on their end or at worst go to the parent registrar and get them to do it. This process can take time but it's worth it in the long run.
Once the whole process completed (can take up to 48hrs for any nameservers or DNS changes, sometimes longer for small registrars whi are not very active), you will have full access to manage all DNS aspect of your domain. All DNS records will be in your total control. You will only need to deal with the registrar for your domain renewal.
When using Cloudflare, you don't need to turn on the orange cloud - it's just good to have but if you only need to manage DNS, you can turn that off and start managing it right away.
I have a requirement where i already have DNS url say www.mycustomdns.com, now i have to create subdomain named www.qa.mycustomdns.com
which will point to azure function app, which is PaaS service of azure cloud, to the url https://businessqa.azurewebsites.net .
My requirement
client ->(https://qa.mycustomdns.com)-->redirect to ->
https://businessqa.azurewebsites.net--> Azure function
without adding any proxy or intermediate services.
So when i refered the Azure docs
https://learn.microsoft.com/en-us/azure/app-service/app-service-web-tutorial-custom-domain
As per the doc, we have to create CNAME entry along with TXT entry for uid.
Will this able to fulfill my requirement or do i need to add any other interim activities or process to be brought in to support my requirement?
As i am very new to azure function and DNS mapping. Please provide suggestion on this.
Clarification
First of all, I must say that respecting contoso.com domain is used by Microsoft Azure for examples, instead of example.com.
Answer
As my domain is mycustomdns.com I will have to go to the Azure DNS zone editor where you should add the two(2) records provided by MS(Microsoft.):
CNAME record pointing desired location (In this case, wwww)
TXT record in order to verify the ownership of the domain and app with MS.
Adding first record
TYPE NAME TTL VALUE
IN CNAME www 3600 businessqa.azurewebsites.net
Adding second record
TYPE NAME TTL VALUE
IN TXT asuid.www 3600 <YOUR_VERIFICATION-TEXT>
Steps
Will this able to fulfill my requirement or do i need to add any other interim activities or process to be brought in to support my requirement?
Yes, at the server level to allow incoming connections in the desired socket (if applicable), otherwise MS will do it via an automated process.
I have a domain registered with azure. I want to change the name servers so that it would point to my another server which contains cpanel hosting. I have tried changing the dns records but it didn't work. Is there any other way I could do this?
Unfortunately you cannot cannot remove or modify the pre-populated Azure DNS name servers.
You can add additional name servers to this NS record set, to support co-hosting domains with more than one DNS provider.
This applies only to the NS record set at the zone apex. Other NS record sets in your zone (as used to delegate child zones) can be created, modified, and deleted without constraint.
https://learn.microsoft.com/en-us/azure/dns/dns-zones-records#ns-records
Error creating Custom Domain in Azure
Hi, I am trying to link a custom domain to my static website that is located on my blob storage account. When creating the custom domain these are the azure instructions "Create a CNAME record with the DNS provider that points the domain (eg, www.contoso.com) to blobstorage.blob.core.windows.net or blobstorage.z13 .web.core.windows.net and then specify your domain. This method is simpler, but causes a short downtime while Azure checks the domain registration. "
In my godaddy account I have created a new CNAME record as follows Type: CNAME, name: www.mydomain.com, value: blobstorage.z13.web.core.windows.net.Y when trying to specify the custom domain in azure (mydomain.com) generates the following error: "Could not update storage account 'XXXX'. Error: The custom domain name could not be verified. CNAME mapping from mydomain.com to any of ..... does not exist "
I do not understand what I am doing wrong, I am very new in the subject and I really appreciate the help you can give me. Thank you very much
Be sure you have the CNAME record set correctly in the DNS settings for your domain name, then give it some time to update. DNS doesn't update immediately, it can take some time for the update to sync through all the DNS server between your registrar and Azure or your local ISP. This is especially the case when you test and it fails, then you need to wait at minimum the TTL (time-to-live) time that is set on the DNS records updated before you'll be able to test again.
On an aside, I'd recommend setting the TTL on the DNS records to 1/2 hour, then when everything's working you can go update it to a longer TTL. This will help when you need to update things and retest again to get it working.
I could already make the configuration I was looking for by configuring a CDN. this is the link learn.microsoft.com/en-us/azure/storage/blobs/… Thanks everybody fot your answers and comments –
I've set up my first site on Azure. Let's call it 'mysite.org.uk'. I've uploaded the files to Azure as a shared Azure website. It's accessible at 'mysite.azurewebsites.net'. Now I want to test it out by pointing a live subdomain to it, so basically I want it to resolve with the URL 'cloud.mysite.org.uk'. I've read the documentation and it says that before I can add an A record to my domain to do this, I need to create a CNAME record. The instructions it gives are:
The DNS record for 'cloud.mysite.org.uk' that points to
'mysite.azurewebsites.net' could not be located. If you
want to configure an A record, you must first create a CNAME record
with your DNS provider for
'awverify.cloud.mysite.org.uk' that points to
'awverify.mysite.azurewebsites.net'. First allow the
resource record to propagate, and then create the A record.
Okay, so I've logged into the Plesk control panel of the current host (where the DNS is controlled) and added a CNAME record with 'host': awverify.www.mysite.org.uk. and 'value': awverify.mysite.azurewebsites.net. I did this more than 24 hours ago so it should have propagated by now, but when I try to add the domain in the Azure portal it still tells me there's no verification CNAME record. Similarly when I ping awverify.www.mysite.org.uk it doesn't resolve (surely it should if it's set up right, as it's a new record, so it shouldn't rely on DNS propagation time?).
To be on the safe side I've also created a CNAME with host: awverify.cloud.mysite.org.uk and value: awverify.mysite.azurewebsites.net and that too isn't working. In fact when I add these CNAME records Plesk tells me:
Unable to resolve the canonical name
awverify.mysite.azurewebsites.net.
Anyhow, I'm a little bit stuck. I thought I'd followed the documentation pretty closely but obviously something isn't right.
If anyone has any pointers I'd be most grateful.
Thanks
It must have been a propagation issue oddly, as 48 hours later it works when I add the domain to Azure.