Cloud / DNS platform

How to change DNS records at DigitalOcean

Free DNS hosting for domains you point at DigitalOcean. Not a registrar.

Where the DNS settings live

  1. Sign in and go to NetworkingDomains.
  2. Click the domain to open its records.

Adding a record

  1. Choose the record type tab (A, CNAME, MX, TXT...).
  2. Enter the Hostname@ for the root — and the value.
  3. Click Create Record.

Editing or deleting a record

  1. Click More on the record row → Edit, change it, and save.
  2. The same menu has Delete.

Changing the nameservers

  1. Set the three DigitalOcean nameservers at your registrar, then add the domain under Networking → Domains.

DigitalOcean nameservers

These are the values you would set at your registrar to let DigitalOcean run your DNS. Always confirm them in your own account — several providers assign per-account values.

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

Gotchas at DigitalOcean

  • DigitalOcean will not serve a zone you have not explicitly added, even if the nameservers point at them.
  • Records must be added after the domain is created in the panel, not before.

After you save

DNS changes are not instant. Resolvers keep the old answer until the previous record's TTL expires, so a record with a 4-hour TTL can take 4 hours to change everywhere — occasionally longer if an ISP ignores TTLs. Check what the world currently sees before assuming something is broken, and see the troubleshooting page if it still looks wrong after the TTL has passed.

Other cloud / dns platform guides