648f933e4eff43f55352339e09565ad070bf5fb7
By:
ashram78

Correct configuration for nameservers digital ocean and relative IPv4 addresses

March 13, 2017 630 views
DNS

Valid IPv4 address for nameservers 13.03.2017

Nameserver Address IPv4
ns1.digitalocean.com 173.245.58.51
ns2.digitalocean.com 173.245.59.41
ns3.digitalocean.com 198.41.222.173

4 Answers

@ashram78

Unless your domain registrar physically requires that you provide both, you should only need to use the ns1-ns3 entries. Ideally, you don't want to rely on IP's as they could change and if they do, you'd need to make sure those IP's are updated on your domain as well, otherwise DNS lookups would fail for your domain.

So you should only need:

ns1.digitalocean.com
ns2.digitalocean.com
ns3.digitalocean.com

My provider "register.it" is asking for IPv4 too, i know they can change that's why i wrote the date.

I don't really know, i don't like this procedure, but they ask for it, i think has something to do with the italian authority. Anyways to check if the DNS and relative IP are correct, they provide this tool:
http://dns-check.nic.it/

  • @ashram78 Yes, but that's unusable, since DigitalOcean might change IP-addresses at some point and then your domain won't work.
    It's better to leave the DNS with this registrar - otherwise you might end up having to troubleshoot something that will be difficult.
    But please contact them - this is not normal and there must be many Italian nerds that oppose this.

I don't know if they rely upon the IPs i provide anyways, maybe it's just a sort of security measure for the itaian extension. The only thing i want is that this domain points to my server, it never happened to me to wait so long for a change in the NS. I will never advice Register to anyone, i like better other companies, the only good thing is that is cheap! The mistake was mine, that i put the IP provided on a answer i found, maybe they were old IPs, but now the interface doesn't let me change only the IPs without changing the Nameservers too, and the support is really poor.

  • @ashram78 Thanks for the update. I've added register.it to my blacklist memory if I encounter others who's using them, then I'll recommend to transfer the domain away.

  • @ashram78

    Unless you're wanting to use DigitalOcean's DNS Manager, you don't need to set your domain to use their name servers. You can point your domain name using two A entries or a single A entry + a CNAME using your domain registrars DNS panel, which would simplify things a bit so you're not concerning yourself with managing the IP's of DigitalOcean's name servers.

    Using Only A Entries*

    A          @          DROPLET_IP
    A          www        DROPLET_IP
    

    Using A + CNAME Entries*

    A          @          DROPLET_IP
    CNAME      www        domain.com
    

    Where DROPLET_IP is your Droplet's Public IPv4 IP and domain.com is your domain name.

    Changes to DNS would stay on the side of your registrar in this case and you wouldn't be able to use DigitalOcean's DNS interface through the control panel, but it does make things a bit easier.

Have another answer? Share your knowledge.