Racks of servers with patch cables in a data centre

All providers  /  Cloud / DNS platform

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 Networking → Domains.
  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.

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 aren't 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. Use the Route Planner's live check to see what the world sees, and the troubleshooting page if it still looks wrong after the TTL has passed.

Nearby exits