datumctl dns plugin. To install it, see Operations. Add --verbose to any datumctl dns command to see the underlying cause of an error.
My domain doesn’t resolve
Work through these checks in order.- Check delegation. Run
datumctl dns zone nameservers example.com --check. If delegation isIncompleteorPartial, set Datum’s nameservers at your registrar. If it’sUnknown, the zone is new; wait a few minutes and check again. - Check for DNSSEC. If the domain resolves with
dig +cd example.combut returnsSERVFAILwithdig example.com, a leftoverDSrecord at your registrar is the cause. Datum DNS doesn’t support DNSSEC yet. Remove theDSrecord at your registrar, and resolvers recover as their cached copy expires. See DNSSEC. - Check the record. Run
datumctl dns record list example.com --name www. If the record isn’t there, or isn’tProgrammed, see the sections below. - Check Datum’s answer. Run
dig www.example.com @ns1.datumdomains.net. If Datum answers correctly but your resolver doesn’t, it’s holding an old answer. Wait for the old record’s TTL.
A record is stuck at Pending
Pending is normal for a few moments after a change. If it lasts, ask Datum why:
describe shows the reason for each value. Use the reason to find the fix in the table below.
A record reports Conflict or Not owner
Records that Datum manages for you, such as a zone’s
SOA and apex NS records and the records an Application Load Balancer creates, change back if you edit them by hand. To see which records Datum manages, run datumctl dns record list example.com --managed.
I can’t create a zone for my domain
A domain can belong to only one zone on Datum. If another zone already claims the domain, the new zone isn’t accepted. Check whether the zone already exists in another of your projects. If you can’t find it, contact support@datum.net. A zone’s domain name can’t be changed after you create it. To use a different domain, create a new zone.My zone has no nameservers
Ifdatumctl dns zone create reports Waiting for domain ownership verification before provisioning DNS, the zone exists, but Datum won’t serve it until you prove you own the domain. Until then, the zone has no nameservers and its records stay Rejected. You don’t need to recreate the zone. Verify the domain, and Datum provisions the zone and its records.
DNS isn’t enabled for my project
If a command fails with exit code3 (DNS_FORBIDDEN), either your account isn’t allowed to manage DNS in the project, or DNS isn’t enabled for it. To enable DNS, run the following command:
No project is set
Thedns plugin never guesses a project. Run datumctl ctx use your-org-id/your-project-id, or add --project your-project-id to the command.
Import skipped some records
When you import a zone, the importer skipsDS, DNSKEY, RRSIG, NSEC, and NSEC3 records and lists them in a warning. That’s expected, because Datum DNS doesn’t support DNSSEC yet. Before you move your domain to Datum, turn off DNSSEC at your registrar. See DNSSEC.
A record that points at a load balancer doesn’t work
See Point a domain at a load balancer.ExternalDNS doesn’t create records
If you use ExternalDNS with the Datum webhook:- The webhook manages only hostnames inside one of your
DNSZoneresources. Create the zone first. - The webhook only changes records labeled with its own
--owner-id. A record created by hand, or by another ExternalDNS instance, isn’t changed. Thedatum_dns_ownership_conflicts_totalmetric counts these. - The webhook needs permission to read
dnszonesand to managednsrecordsetsin your project.
Private DNS
These checks apply to Private DNS names, which resolve only inside a gVPC network.A private name doesn’t resolve
Work through these checks in order, from an Instance on the network:- Use the full name. Look up
web-default-us-central-1-0.instances.datum.internal, notweb-default-us-central-1-0. Short names depend on search domains. - Check the network. A private name resolves only from networks its zone is associated with. An Instance name resolves only from the Instance’s own network.
- Check the resolver. Run
cat /etc/resolv.confin ageneral-purposeInstance. The app must use these resolvers. An app that uses its own resolver, such as DNS over HTTPS or a hard-coded public resolver, can’t resolve private names. - Check the Instance. An Instance name exists only while the Instance is ready. Run
datumctl get instance INSTANCE_NAME -o yamland checkstatus.dns. If its condition isn’tReady, the reason says why. - Check the zone. Run
datumctl get dnszone ZONE_NAME. IfPROGRAMMEDisn’tTrue, wait a minute and check again. A zone that isn’t associated with any network shows no status. - Check the record or association. See the next section.
- Check
CNAMEtargets. ACNAMEthat points into another zone may return only theCNAME. Point it at a name in the same zone, or useAAAArecords.
A record set or association isn’t accepted
Read the reason:
A request can also be refused when you apply it. A message that starts with
ReservedScope: means the same as the reason above. A not found error, or one that mentions private zone lookup or resolver context lookup, means the zone or DNS context you named doesn’t exist in the project.
A name returns an old answer
Clients and resolvers keep an answer until its TTL expires. Instance names have a 30 second TTL. Records you create default to 300 seconds. To make changes show up sooner, lower the record’s TTL before you change it.Still stuck? Ask Patch
If the steps above don’t find the cause, ask Patch, Datum’s own assistant, before you keep guessing. Patch uses the diagnostic tools of the Datum services in your project and works with your account’s permissions. People and agents can both run it:datumctl assistant isn’t installed, see AI assistant. To see which Datum services Patch can use in your project, run datumctl assistant card.