Setting up CNAME and MX DNS records DigitalOcean - dns

I am transfering my domain from network solutions to digitalocean, but want to keep my email server on network solutions. I pointed my DNS server to digitaloceans nameservers, but now I am confused on how to create the MX and CNAME records..

You need to create new zone file for your domain in the DigitalOcean DNS control panel. In the zone file you can add MX and CNAME records pointing to your old network solutions server for emails.

Related

Can I use Multiply Nameservers

I have a domain and the host (Education Host) require to change the nameserver of that domain to its nameservers but the host doesn't have a DNS zone so I want to manage DNS with CloudFlare but its require to change nameservers too. So I want to use both of them but I don't know what happens?
Nothing happens, enter to your Cloudflare panel, change your domains DNS to Cloudflare DNS and in the IP section; Insert IP of your hosts (Education Host).
This will connect your domain to the host, and you can also manage domain records in Cloudfler.
reading this article will help you.

Making nameserver for put domain on server ip

I have a domain and i want to set it to my server(centos 7).
I made a dns server by bind on my server and made 2 nameserver (ns1.myDomain.ir and ns1.myDomain.ir) and set it in my domain configuration, But i cant ping to my domain.
What is the problem?
At the domain registrar, you need to specify the authorised DNS server for your domain. My suggestion is to use the domain registrar's DNS server for resolution and create a zone file there for your domain and enter the A records and other records for your use case.
To have a domain working you don't need to setup your on DNS (bind) server.

WWW domain on azure

I am trying to configure a www domain on azure. I want to have website under this domain. My domain is "legia.fitness". I have created the DNS zone as follows:
On this picture you see 4 DNS servers. I have delegated my domain that I bought at home.pl to those servers:
And this doesn't work. When I try to browse legia.fitness I get "ERR_NAME_NOT_RESOLVED" error. What am I doing wrong?
Your Azure DNS zone does not have any A or CNAME records for www or # so the name cannot be resolved to an IP address.
Add a new A record with the label # set to the IP address of your Azure website, and another A record with the label www also set to the same IP address.
Alternatively, create CNAME records (both # and www) and set them to your Azure Website's name (e.g. yourwebsite.azurewebsites.net). CNAME records are aliases of existing A or CNAME records, but are slower to resolve which is why I prefer A records.
You haven't directed the domain anywhere yet.
You have a DNS zone that works. I can see the SOA records on Dig web interface.
Now you have to add CNAME/A records to the DNS zone to direct the traffic to where you want it.
Here is a guide for Azure Web Apps: https://learn.microsoft.com/en-us/azure/app-service-web/web-sites-custom-domain-name
If you use something else, you'll need to find its guide.

Domain registrar's DNS records vs web hosting DNS records

I bought a domain from Google Domains. I have an A record (on Google Domains DNS control panel) pointed to my server's IP. I had a www CNAME record pointed to mydomain.tld. To experiment with my hosting panel's DNS (I have VestaCP) I deleted the www record from Google Domains DNS panel. There was already a www A record on VestaCP DNS panel. I deleted that and added a www CNAME record pointing to mydomain.tld. And suddenly my www.mydomain.tld stopped resolving. I also tried adding a test A record but I couldn't ping `test.mydomain.tld'.
So, how does hosting panel's DNS work? Each time I add a new website (be it a sub domain or a new domain itself) VestaCP creates certain DNS records. Are these DNS records supposed to override the ones in domain registrar's DNS panel or vice versa? What are DNS records in VestaCP DNS are there for?
When you have your hosting and domain in one single server or with one provider, your domain DNS will be with your domain itself. You just need to point the A record to hosting IP. Your Nameservers will be the default.
If you have your domain with one hosting provider and domain with other then you need to change your domain Nameservers to hosting nameservers. Then your DNS will migrate to your hosting account. The changes you may do in your domain panel will not affect. You can change your DNS settings from your hosting account only.
Hope it helps.

configuring DNS with media temple virtual dedicated server and domain management with godaddy

I want to know how to configure my DNS zone file in GoDaddy for the following:
ftp
webmail
The Scenario:
The dedicated virtual server (dv) is with mediatemple and the domain management is with GoDaddy. I have the "A" record for myDomain.com setup correctly to point to the dv because when I reached my index page when I type www.myDomain.com on my browser. I was also able to setup a subdomain (mySub.myDomain.com) correctly.
Note:
It's interesting that when I do an nslookup for myDomain.com I get the IP of goDaddy. I thought that I would get the IP address of my dv server.
In any case, I'm new at this and I'd like to hear recommendations on how I should configure the ftp and webmail in goDaddy.
Thanks in advance!
Thanks to mt support, I configured the ftp and webmail successfully. Below is how I configured my dns zone file in godaddy.
Create the correct A records for the dv server including mail and webmail. There should be a CNAME record for the ftp which points to the ip of the dv server.
myDomain.com 'A' <ip of dv server>
mail.myDomain.com 'A' <ip of dv server>
webmail.myDomain.com 'A' <ip of dv server>
Point an MX record to your dv server
myDomain.com 'MX' preference:0 exchange:mail.myDomain.com
Delete the remaining MX records
I had to wait 24 to 48 hours for these changes to propagate.
Pointing your A record is not the same as pointing your nameservers. If you wish to use (mt) nameservers, you should point them at (mt): http://kb.mediatemple.net/questions/5/%28mt%29+Media+Temple%27s+DNS%7B47%7DNameserver+information
I'm also confused as to what you're asking as far as "pointing" FTP and Webmail to your (dv). If you open a support request, give us a call, or message us on Twitter, we'd be happy to give you a hand.

Resources