Failed to create dns record during custom domain setup

Issue with Custom Domain Registration for Deployed Canister

I’m trying to use my custom domain for my deployed Internet Computer canister, following the official manual.

It seems like I have all the required DNS records correctly set:

dig CNAME <MY_DOMAIN> +short
<MY_DOMAIN>.icp1.io.

dig CNAME _acme-challenge.<MY_DOMAIN> +short
_acme-challenge.<MY_DOMAIN>.icp2.io.

dig TXT _canister-id.<MY_DOMAIN> +short
"63omj-5yaaa-aaaag-at27a-cai"

Then, I proceed with registering my domain:

curl -sL -X POST \
  -H 'Content-Type: application/json' \
  https://icp0.io/registrations \
  --data @- <<EOF
{
  "name": "<MY_DOMAIN>"
}
EOF

After receiving the REQUEST_ID, I check the status:

curl -sL -X GET https://icp0.io/registrations/8fba29564bfded6b379370435072e4213361fe8bab082f76fb9e248cf31b680b

However, I get the following error:

{
  "name": "<MY_DOMAIN>",
  "canister": "63omj-5yaaa-aaaag-at27a-cai",
  "state": { "Failed": "failed to create dns record" }
}

Additional Details

  • I have added my domain to the .well-known directory as specified in the manual.
  • I am using a CNAME instead of an ALIAS because, for some reason, ALIAS does not update correctly. When I run dig ALIAS <MY_DOMAIN>, I get random IP addresses, so I decided to switch to CNAME instead.

Any help or insights would be greatly appreciated

Related thread with same/similar issue: I cannot set a custom domain - #10 by jamesbeadle

Probably a more knowledgeable colleague on this topic will respond on Monday :smiley:

This issue was resolved by Dfinity team. Thank you.