Black Friday: add funds and get 2x credit, up to $50 free ($25 → $50, $50 → $100). Use it for anything: domains, hosting, email. Code: BLACKFRIDAY2026 Get 2x credit →

DNS with an API

Manage records from code, the dashboard or your AI. Included free with every domain.

curl
$ curl -X POST https://nameocean.net/api/v1/dns/example.com/records \
    -H "Authorization: Bearer $NAMEOCEAN_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{"type": "CNAME", "hostname": "www", "target": "@"}'
201 {"id": 4183, "type": "CNAME", "hostname": "www", …}

Every record type is in the API, and Claude, Cursor or any MCP client can read and change your zones through our MCP server.

Your zone in git

Keep the zone in a YAML or JSON file, review changes in pull requests and apply them from the terminal or CI. DNS as code.

nameocean
$ nameocean dns export example.com > dns.yaml
$ nameocean dns plan -f dns.yaml
+  CNAME  blog  example.netlify.app
example.com: 1 to add, 0 to change, 0 to delete, 6 unchanged.
$ nameocean dns apply -f dns.yaml

What is authoritative DNS?

Authoritative DNS is the name server, which has the original zone records. It has been configured from the original source, and it returns answers to queries that have been predetermined by the administrator.

What does it cost?

We don't charge any fee for domains on NameOcean. You can buy a new domain or transfer your domain and use our free services like ssl and dns immediately. If you need help transferring your domain, check our tutorial: How to transfer a domain to NameOcean?

Don't worry if you can't transfer your domain. It only costs $0.5 per month for external domain names.

How?

Your DNS management made easy, not just for experts.

NameOcean DNS

Http Redirects made easy

You don't have to setup a http server to redirect your domain name to another URL. It is very easy on NameOcean DNS.

Domain Forwarding

 

 

Need help?

Find an answer in our knowledge base.