Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. No explicit error when existing DNS record exist for a domain

No explicit error when existing DNS record exist for a domain

Scheduled Pinned Locked Moved Solved Support
domainsporkbun
10 Posts 4 Posters 807 Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ruihildtR Offline
    ruihildtR Offline
    ruihildt
    wrote on last edited by joseph
    #1

    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?

    1 Reply Last reply
    1
    • ruihildtR Offline
      ruihildtR Offline
      ruihildt
      wrote on last edited by
      #2

      So I figured out it was because there was an existing default config for the domain.

      Would it be possible to warn the user why it fails more precisely?

      1 Reply Last reply
      0
      • nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #3

        Ah good, I was just struggling to reproduce the issue. What are the "default configs" in this case?

        ruihildtR 1 Reply Last reply
        0
        • nebulonN nebulon marked this topic as a question on
        • ruihildtR Offline
          ruihildtR Offline
          ruihildt
          wrote on last edited by
          #4

          I don't the exact detail, it was something related to a Porkbun parked domain.

          But i plan to buy a new domain soon, and I'll report precisely then.

          1 Reply Last reply
          1
          • J joseph has marked this topic as solved on
          • nebulonN nebulon

            Ah good, I was just struggling to reproduce the issue. What are the "default configs" in this case?

            ruihildtR Offline
            ruihildtR Offline
            ruihildt
            wrote on last edited by ruihildt
            #5

            @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:

            6a4851fb-6fcf-4a21-b441-239b5853850a-image.png

            I'm not going to update it straight away, so if you need more info, I can help.

            1 Reply Last reply
            0
            • J Online
              J Online
              joseph
              Staff
              wrote on last edited by
              #6

              @ruihildt can you paste some of the app logs? It's probably looping waiting for something.

              ruihildtR 1 Reply Last reply
              0
              • J joseph

                @ruihildt can you paste some of the app logs? It's probably looping waiting for something.

                ruihildtR Offline
                ruihildtR Offline
                ruihildt
                wrote on last edited by
                #7
                This post is deleted!
                1 Reply Last reply
                0
                • rmdesR Offline
                  rmdesR Offline
                  rmdes
                  wrote on last edited by rmdes
                  #8

                  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"]
                  
                  1 Reply Last reply
                  0
                  • rmdesR Offline
                    rmdesR Offline
                    rmdes
                    wrote on last edited by
                    #9

                    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.

                    1 Reply Last reply
                    0
                    • nebulonN Offline
                      nebulonN Offline
                      nebulon
                      Staff
                      wrote on last edited by
                      #10

                      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?

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Bookmarks
                      • Search