Agent Naming (ANS): fixing registration errors

⚠️ Experimental. The Agent Name Service is an emerging standard that is still a draft, and Porkbun's ANS registry, transparency log and directory are new. Expect changes to how it works, and possibly to agent names or records if the standard changes. There is no uptime commitment yet, so don't rely on it for anything critical.

What is ANS?

The Agent Name Service (ANS) does for AI agents what DNS and HTTPS certificates do for websites: it lets an app check that the agent it is talking to really belongs to the domain it claims. It is an open standard being developed at the IETF (Internet-Draft), with an open-source reference implementation. Porkbun runs its own registry, transparency log (tl.ans.porkbun.com) and directory.

Below are fixes for the errors you are most likely to hit when registering an AI agent with Agent Naming. For the full walkthrough, see Register your AI agent with Agent Naming (ANS).

"Agents can only be registered on domains registered at Porkbun in this account"

Error code ANS_DOMAIN_NOT_ELIGIBLE. The agent's host has to sit on a domain that is registered at Porkbun, in the same account, and active. Check all three:

  • Registered elsewhere. Adding it to your account as an external domain is not enough. Transfer it to Porkbun, or register the name here.
  • In a different account. Register from the account that holds the domain, or move the domain into this one.
  • Not active yet. A domain that is expired, suspended, or still transferring in cannot be used until it goes active. Renew it or wait for the transfer to finish.

Subdomains are fine: if you own example.com, an agent at myagent.example.com works.

"Could not read a certificate from your endpoint"

Error code ANS_SERVER_CERT_UNREACHABLE. We fetch the certificate your endpoint serves, so the endpoint has to be live and reachable from the public internet before you register. Check that the host resolves in DNS, that it answers on port 443, and that no firewall or allowlist blocks us. If the agent is not deployed yet, deploy it first and then register.

"The server certificate was rejected"

Error code ANS_SERVER_CERT_INVALID. The certificate has to be publicly trusted and issued for the agent's exact host.

  • Self-signed or private CA. Not accepted. Use a publicly trusted certificate; Let's Encrypt is free and fine.
  • Wrong hostname. The certificate must cover the host in your endpoint URL, not just the bare domain.
  • Expired. Renew it, then try again.
  • Pasting it by hand. If you supply the certificate under Advanced options, paste the full chain: your certificate first, then intermediates.

The agent is stuck on "Awaiting verification"

Registration finishes over a few rounds of DNS checks, so a short wait is normal. ANS_DNS_PENDING means the records are published but the registry cannot see them yet — wait about 30 seconds and run it again.

  • On Porkbun nameservers: click Verify & issue certificate and leave it running. It repeats on its own, and we add the records for you.
  • DNS hosted elsewhere: add every record the page lists at your DNS host (_acme-challenge, then _ans, _ans-badge, TLSA and HTTPS), then run it again. If your DNS host is slow to publish, this can take longer than a couple of minutes.
  • Still failing (ANS_VALIDATION_FAILED): confirm each record resolves publicly, with no typos and no extra quotes, then retry.

"That name and version is already registered"

Error code ANS_ALREADY_REGISTERED. Each version of a name can be registered once. Register a higher version under Advanced options, for example 1.0.1 or 1.1.0.

I lost my agent's private key

Porkbun never receives your agent's private key, so we cannot recover or resend it. If it is lost or exposed, Revoke the registration and register the agent again with a new key and a higher version. If the key may have leaked, revoke it promptly: until you do, anyone holding it can act as your agent.

Check trust says "Could not verify"

A failed check means something does not line up between the certificate your agent serves, the registry's entry, and the transparency log. The usual causes:

  • The certificate was renewed or reissued. This is the most common one. The certificate your host serves no longer matches what is registered. Register the agent again with a higher version so the new certificate is sealed.
  • The agent moved to a different host or IP, and the records no longer match.
  • The registration was revoked or has expired.

If you get "The check could not finish" instead, something could not be looked up — usually your endpoint being briefly unreachable, or a DNS hiccup. It is not a mismatch. Try again in a few minutes.

The check also reports three proofs: Registered identity, Active now and Holds its certificate key. Whichever one shows "no" points at the problem — a failing "Holds its certificate key" is nearly always the renewed-certificate case above.

If your zone is not DNSSEC-signed, the DANE check is skipped and does not count against the verdict. Turning DNSSEC on is a strengthening step, not a requirement.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.