Read the nameservers
An NS record names a host that is authoritative for the domain. The company that runs those hosts holds the zone, and it is not always the company where the domain was bought.
dig +short NS example.com
Ask for the zone, which is usually the registered domain: for shop.example.com, query example.com. The answer is a list of nameserver names, and their ending usually tells you the provider. The providers page explains how Cnamio reads them.
Ask check_domain
The check_domain MCP tool, and POST /checkdomain in the REST API, do the lookup for you and change nothing. This is the call and part of the answer of a test application, whose DNS provider is simulated:
check_domain({ domain: 'shop.example.com', dnsRecords: [{ type: 'CNAME', host: '{SUBDOMAIN}', value: 'app.example.com' }] })
{
"domain": "shop.example.com",
"zone": "example.com",
"provider": "sandbox",
"nameservers": ["ns1.sandbox.cnamio.com", "ns2.sandbox.cnamio.com"],
"connectMethods": ["api_token"]
}
With a live application, provider is detected from the domain’s real nameservers and is other when they are not recognised.
Ask only for what the answer needs
If connectMethods contains api_token, the domain owner can create an API token at that provider and Cnamio creates the records with it. If it does not, nobody has to hand over access: the owner copies the records into the provider’s panel. In both cases, never ask for the account password.
Sources
Read on December 1, 2026.