No explicit error when existing DNS record exist for a domain
-
I have registered a domain with Porkbun DNS API.
I havenot been able to register the main domain, I receive the following error:
External Error: Porkbun DNS error 400 {"status":"ERROR","message":"Create error: We were unable to create the DNS record."}
I created the app on a subdomain,and it worked fine.
How can I fix this?
-
-
-
@nebulon Ok I just tried with a new domain, and now it simply just doesn't come out of
Configuring - Registering location domain.click
state.Here's the DNS current config:
I'm not going to update it straight away, so if you need more info, I can help.
-
Logs from when attempting to associate a container/app to the naked domain
ec 01 16:39:17 box:dns/porkbun get: in zone infinitespace.click of type CNAME Dec 01 16:39:18 box:dns/porkbun get: in zone infinitespace.click of type A Dec 01 16:39:19 box:dns upsertDNSRecord: location on domain infinitespace.click of type A with values ["147.78.130.44"] Dec 01 16:39:19 box:dns/porkbun upsert: in zone infinitespace.click of type A with values ["147.78.130.44"] Dec 01 16:39:22 box:dns Attempt 80 failed. Will retry: Porkbun DNS error 400 {"status":"ERROR","message":"Create error: We were unable to create the DNS record."} Dec 01 16:39:22 box:dns registerLocation: Upsert error. retryable: true. Porkbun DNS error 400 {"status":"ERROR","message":"Create error: We were unable to create the DNS record."} Dec 01 16:39:27 box:dns/porkbun get: in zone infinitespace.click of type CNAME Dec 01 16:39:28 box:dns/porkbun get: in zone infinitespace.click of type A Dec 01 16:39:29 box:dns upsertDNSRecord: location on domain infinitespace.click of type A with values ["147.78.130.44"] Dec 01 16:39:29 box:dns/porkbun upsert: in zone infinitespace.click of type A with values ["147.78.130.44"] Dec 01 16:39:31 box:dns registerLocation: Upsert error. retryable: true. Porkbun DNS error 400 {"status":"ERROR","message":"Create error: We were unable to create the DNS record."} Dec 01 16:39:31 box:dns Attempt 81 failed. Will retry: Porkbun DNS error 400 {"status":"ERROR","message":"Create error: We were unable to create the DNS record."} Dec 01 16:39:36 box:dns/porkbun get: in zone infinitespace.click of type CNAME Dec 01 16:39:37 box:dns/porkbun get: in zone infinitespace.click of type A Dec 01 16:39:39 box:dns upsertDNSRecord: location on domain infinitespace.click of type A with values ["147.78.130.44"] Dec 01 16:39:39 box:dns/porkbun upsert: in zone infinitespace.click of type A with values ["147.78.130.44"] Dec 01 16:39:42 box:dns registerLocation: Upsert error. retryable: true. Porkbun DNS error 400 {"status":"ERROR","message":"Create error: We were unable to create the DNS record."} Dec 01 16:39:42 box:dns Attempt 82 failed. Will retry: Porkbun DNS error 400 {"status":"ERROR","message":"Create error: We were unable to create the DNS record."} Dec 01 16:39:47 box:dns/porkbun get: in zone infinitespace.click of type CNAME Dec 01 16:39:48 box:dns/porkbun get: in zone infinitespace.click of type A Dec 01 16:39:49 box:dns upsertDNSRecord: location on domain infinitespace.click of type A with values ["147.78.130.44"] Dec 01 16:39:49 box:dns/porkbun upsert: in zone infinitespace.click of type A with values ["147.78.130.44"] Dec 01 16:39:51 box:dns registerLocation: Upsert error. retryable: true. Porkbun DNS error 400 {"status":"ERROR","message":"Create error: We were unable to create the DNS record."} Dec 01 16:39:51 box:dns Attempt 83 failed. Will retry: Porkbun DNS error 400 {"status":"ERROR","message":"Create error: We were unable to create the DNS record."} Dec 01 16:39:56 box:dns/porkbun get: in zone infinitespace.click of type CNAME Dec 01 16:39:58 box:dns/porkbun get: in zone infinitespace.click of type A Dec 01 16:40:00 box:dns upsertDNSRecord: location on domain infinitespace.click of type A with values ["147.78.130.44"] Dec 01 16:40:00 box:dns/porkbun upsert: in zone infinitespace.click of type A with values ["147.78.130.44"]
-
Just to be clear, moving the box MAIL domain and MY (dashboard) worked seamlessly
and the PTR record on the VPS side is also already in place.but attempting to associate an existing or a new web app to this naked domain is broken for some reason, and it makes no sense since both the A record MY and the MX record MAIL were created just fine.
-
Since porkbun returns an 400 error, I might guess something is wrong with the API call we do. Sadly https://porkbun.com/api/json/v3/documentation is not very detailed here, nor is the error message itself.
Possibly the API requires something else for the naked domain, since the subdomains work apparently fine then. But also I can't find anything mentioned in the docs
Can you check if this might be a record conflict error which just reports as 400? Like do A records for that already exist?