0

I've got myself confused over DNS records and need to understand what I need to do first for my situation.

My domain name is hosted by one provider. The nameservers are currently pointing to the webhosts name servers (1and1)

My webspace is hosted by 1and1 My email is hosted on an exchange account and the 1and1 has a configuration set to the exchange account

I am in the process of moving my domain name to 123-reg (where I have other domains) so I can close the account with the domain host.

I now want to configure a subdomain to handle website email through Mandrill. It appears I'm going to have problems configuring the DNS settings via 1and1. Mandrill suggests creating a subdomain to leave my main email for this domain intact.

So how to I get out of this spaghetti I appear to have created.

Should I use a DNS provider away from 1and1 (research suggests 1and1 are less than flexible with name server configuration), then point the records to the domain space? Or use 123-reg as a nameserver and do the settings there?

What is the best practice approach?

I want to make this as clean as possible

Thank you

2

It sounds like there is some complexity and I am not sure I followed it all, but I will try and answer your question anyway.

Generally, DNS stuff should be relatively easy. But sometimes it takes a bit to get a hold of. To simplify things, I am going to recommend that you only use one set of DNS servers.

You have registered your domains with a company- your registrar, and you host your site with one or more hosts. Easy peazy so far. I always recommend using the DNS of your registrar for one simple reason- DNS is a huge part of their business and therefore it is likely they do DNS well. So I would recommend making your life a bit less confusing and use your registrar for all DNS stuff. Another reason is simple, using multiple DNS servers over several companies, unnecessarily complicates the issue.

You will need something like this: An NS record for ns1.myregistrar.com An NS record for ns2.myregistrar.com An A record for mydomain1.com An CNAME record for www.mydomain1.com An A record for mydomain2.com An CNAME record for www.mydomain2.com An CNAME record for mx.mydomain1.com An MX record for mx.mydomain1.com

At first, your mydomain1.com and mydomain2.com will be two different IP addresses since they are on separate hosts. When you move mydomain2.com, you will obviously need to change your IP address for the A record. I like to create a CNAME for mail sub-domains and www, but sometimes it should be an A record. It all depends upon the DNS server. You will have to experiment. However, for most DNS servers either a CNAME or A record will do just fine.

You need a SOA for your domains. An SOA record is the statement of authority for that domain. It is often best to keep all DNS records in one basket for the simple reason that someone must act as the SOA and if you divide your DNS records over two DNS servers your SOA may be missing something important. Since registrars are often the SOA for most domains and are set up to take on that role, then it is always best to allow your registrar to be the SOA with all your DNS records.

For this reason, I suggest setting your NS records to be your registrars name servers, let the registrar be the SOA, and only use one set of DNS servers, you guessed it- your registrars. You will want to set this up and remove all records from your host DNS to remove confusion but only after the TTL times for you domain expires. The TTL is a number representing seconds (time to live- aka the amount of time a DNS record is cached) and 3600 is common, though 600 is also common and longer times also common. To be safe add your registrar DNS entries, and then say about half a day later or the next day, remove the host DNS records.

  • That's good advice - thank you. I'm starting the process to simplify now based on the above. Thanks again. It makes sense when someone else explains it! – Ray Jun 20 '14 at 15:03
  • Let me know if you run into trouble. I will be out from time to time during the day, but I am often around a lot- especially in the evenings/night. – closetnoc Jun 20 '14 at 15:21
  • Thank you. I'm waiting on the transfer then will get on it over the weekend during the quiet hours. Thank you – Ray Jun 20 '14 at 16:49
  • Anytime. Again, I actually have a business to run, but I am here most of each day and especially at night so I am here for you. – closetnoc Jun 20 '14 at 16:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.