Correct configuration for nameservers digital ocean and relative IPv4 addresses

Posted March 13, 2017 5.8k views

Valid IPv4 address for nameservers 13.03.2017

Nameserver Address IPv4

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
4 answers


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:

My provider “” 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:

  • @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 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

    Where DROPLET_IP is your Droplet’s Public IPv4 IP and 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.