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. Porkbun automated DNS change

Porkbun automated DNS change

Scheduled Pinned Locked Moved Solved Support
domainsporkbun
4 Posts 3 Posters 70 Views 3 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.
  • E Offline
    E Offline
    ekevu123
    wrote last edited by joseph
    #1

    Not sure if this is expected or a bug, but I noticed this:

    1. I registered a new domain with porkbun
    2. I connected the domain to cloudron and gave API access
    3. I tried to install a new app on that domain using Cloudron CLI

    Expected Behaviour:
    Cloudron manages the DNS records automatically.

    Actual behavior:
    box:dns Attempt 4 failed. Will retry: Porkbun DNS error 400 {"status":"ERROR","message":"Create error: We were unable to create the DNS record."}

    The solution was to delete the default CNAME entries manually that were pointing to porkbun (they were created when I bought the domain).

    Technically, this was a conflict, and I assume cloudron, as it acts usually conservatively, would not interfere with the current state, but show an error instead until this is resolved? Or can cloudron only add and edit, but not delete existing entries?

    I just wanted to bring this up, I am not sure if cloudron would be supposed to resolve this on its own.

    1 Reply Last reply
    1
    • jamesJ Offline
      jamesJ Offline
      james
      Staff
      wrote last edited by james
      #2

      Hello @ekevu123
      Thanks for reporting.
      I can only assume that the default CNAME records after purchase have some sort of protection and or can't be changed by the API, thus blocking the process.
      Can you share a screenshot of Porkbun where these CNAME records where set?

      1 Reply Last reply
      1
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote last edited by
        #3

        Was the CNAME eventually pointing back to Cloudron server? If so, we have code to follow CNAME records. Cloudron doesn't ever delete external records, so if the CNAME is pointing to something else, it can only error.

        1 Reply Last reply
        0
        • E Offline
          E Offline
          ekevu123
          wrote last edited by
          #4

          Yeah, I don't have the original, because I repaired this manually already, but that is basically it - the CNAME was a standard of Porkbun pointing to their server.

          Well, it's solved quickly, albeit manually.

          1 Reply Last reply
          1
          • J joseph has marked this topic as solved
          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