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. DNS error with CNAME record

DNS error with CNAME record

Scheduled Pinned Locked Moved Solved Support
cnamedns
7 Posts 2 Posters 1.3k Views 2 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.
  • T Offline
    T Offline
    TheNils
    App Dev
    wrote on last edited by girish
    #1

    I have created a A DNS records for master.domain.io and *.master.domain.io which point to the ip of my cloud (1.1.1.1 for the example).
    I created a CNAME record for anotherdomain.io which points to master.domain.io.
    I added the domain anotherdomain.io to the cloudron (wildcard option) and it worked.
    When I try to install an app on anotherdomaine.io I get stuck with this error:

    box:dns/waitfordns waitForDns: waiting for anotherdomaine.io to be 1.1.1.1 in zone thenils.fr
    Jan 25 14:24:31 box:dns/waitfordns waitForDns: nameservers are ["ns103.ovh.net","dns103.ovh.net"]
    Jan 25 14:24:31 box:dns/waitfordns resolveIp: Checking if anotherdomaine.io has A record at 213.251.128.147
    Jan 25 14:24:31 box:dns/waitfordns resolveIp: Checking if anotherdomaine.io has CNAME record at 213.251.128.147
    Jan 25 14:24:31 box:dns/waitfordns resolveIp: Resolving anotherdomaine.io's CNAME record master.domaine.io
    Jan 25 14:24:31 box:dns/waitfordns isChangeSynced: NS ns103.ovh.net (213.251.128.147) errored when resolve anotherdomaine.io (A): Error: queryA EREFUSED master.domaine.io
    Jan 25 14:24:31 box:dns/waitfordns waitForDns: anotherdomaine.io at ns ns103.ovh.net: not done
    Jan 25 14:24:31 box:dns/waitfordns Attempt 1 failed. Will retry: ETRYAGAIN
    

    I can't permanently control the DNS records of anotherdomain.io but I need to be able to redirect it to another ip if I want and i have full control over master.domain.io.
    Also, the error tells me to point to 213.251.128.147 but that's ovh's DNS server ip .
    i don't know if i'm missing something or if there is a bug or if cloudron doesn't like CNAME ?

    Thanks

    girishG 1 Reply Last reply
    2
    • T TheNils

      I have created a A DNS records for master.domain.io and *.master.domain.io which point to the ip of my cloud (1.1.1.1 for the example).
      I created a CNAME record for anotherdomain.io which points to master.domain.io.
      I added the domain anotherdomain.io to the cloudron (wildcard option) and it worked.
      When I try to install an app on anotherdomaine.io I get stuck with this error:

      box:dns/waitfordns waitForDns: waiting for anotherdomaine.io to be 1.1.1.1 in zone thenils.fr
      Jan 25 14:24:31 box:dns/waitfordns waitForDns: nameservers are ["ns103.ovh.net","dns103.ovh.net"]
      Jan 25 14:24:31 box:dns/waitfordns resolveIp: Checking if anotherdomaine.io has A record at 213.251.128.147
      Jan 25 14:24:31 box:dns/waitfordns resolveIp: Checking if anotherdomaine.io has CNAME record at 213.251.128.147
      Jan 25 14:24:31 box:dns/waitfordns resolveIp: Resolving anotherdomaine.io's CNAME record master.domaine.io
      Jan 25 14:24:31 box:dns/waitfordns isChangeSynced: NS ns103.ovh.net (213.251.128.147) errored when resolve anotherdomaine.io (A): Error: queryA EREFUSED master.domaine.io
      Jan 25 14:24:31 box:dns/waitfordns waitForDns: anotherdomaine.io at ns ns103.ovh.net: not done
      Jan 25 14:24:31 box:dns/waitfordns Attempt 1 failed. Will retry: ETRYAGAIN
      

      I can't permanently control the DNS records of anotherdomain.io but I need to be able to redirect it to another ip if I want and i have full control over master.domain.io.
      Also, the error tells me to point to 213.251.128.147 but that's ovh's DNS server ip .
      i don't know if i'm missing something or if there is a bug or if cloudron doesn't like CNAME ?

      Thanks

      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @TheNils yup, this exact issue was fixed in 7.3.5. Can you please update and try? Settings -> Check For Updates and update. It will show as unstable since we are gradually rolling it out, but should be stable.

      T 1 Reply Last reply
      1
      • girishG girish

        @TheNils yup, this exact issue was fixed in 7.3.5. Can you please update and try? Settings -> Check For Updates and update. It will show as unstable since we are gradually rolling it out, but should be stable.

        T Offline
        T Offline
        TheNils
        App Dev
        wrote on last edited by
        #3

        @girish awesome! i update and report back !

        T 1 Reply Last reply
        0
        • T TheNils

          @girish awesome! i update and report back !

          T Offline
          T Offline
          TheNils
          App Dev
          wrote on last edited by
          #4

          @girish it doesn't work better after the update.
          the error has evolved though:

          Jan 26 11:32:55 box:dns/waitfordns waitForDns: nameservers are ["ns103.ovh.net","dns103.ovh.net"]
          Jan 26 11:32:55 box:dns/waitfordns resolveIp: Checking if anotherdomaine.io has A record at 213.251.128.147
          Jan 26 11:32:55 box:dns/waitfordns resolveIp: No A record. Checking if anotherdomaine.io has CNAME record at 213.251.128.147
          Jan 26 11:32:55 box:dns/waitfordns resolveIp: CNAME record found. Resolving anotherdomaine.io's CNAME record master.domaine.io using unbound
          Jan 26 11:32:55 box:dns/waitfordns isChangeSynced: NS ns103.ovh.net (213.251.128.147) errored when resolve anotherdomaine.io (A): Error: queryA EREFUSED master.domaine.io
          
          
          girishG 2 Replies Last reply
          0
          • T TheNils

            @girish it doesn't work better after the update.
            the error has evolved though:

            Jan 26 11:32:55 box:dns/waitfordns waitForDns: nameservers are ["ns103.ovh.net","dns103.ovh.net"]
            Jan 26 11:32:55 box:dns/waitfordns resolveIp: Checking if anotherdomaine.io has A record at 213.251.128.147
            Jan 26 11:32:55 box:dns/waitfordns resolveIp: No A record. Checking if anotherdomaine.io has CNAME record at 213.251.128.147
            Jan 26 11:32:55 box:dns/waitfordns resolveIp: CNAME record found. Resolving anotherdomaine.io's CNAME record master.domaine.io using unbound
            Jan 26 11:32:55 box:dns/waitfordns isChangeSynced: NS ns103.ovh.net (213.251.128.147) errored when resolve anotherdomaine.io (A): Error: queryA EREFUSED master.domaine.io
            
            
            girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #5

            @TheNils Oh indeed. I don't know how this happened but https://git.cloudron.io/cloudron/box/-/commit/e4d9dbb55853ae5e5a2cca5f0514db2a2f5665e5 was the fix and the line of code that actually fixes is the issue is... gone!

            1 Reply Last reply
            0
            • T TheNils

              @girish it doesn't work better after the update.
              the error has evolved though:

              Jan 26 11:32:55 box:dns/waitfordns waitForDns: nameservers are ["ns103.ovh.net","dns103.ovh.net"]
              Jan 26 11:32:55 box:dns/waitfordns resolveIp: Checking if anotherdomaine.io has A record at 213.251.128.147
              Jan 26 11:32:55 box:dns/waitfordns resolveIp: No A record. Checking if anotherdomaine.io has CNAME record at 213.251.128.147
              Jan 26 11:32:55 box:dns/waitfordns resolveIp: CNAME record found. Resolving anotherdomaine.io's CNAME record master.domaine.io using unbound
              Jan 26 11:32:55 box:dns/waitfordns isChangeSynced: NS ns103.ovh.net (213.251.128.147) errored when resolve anotherdomaine.io (A): Error: queryA EREFUSED master.domaine.io
              
              
              girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #6

              @TheNils Can you try this single line fix:

              https://git.cloudron.io/cloudron/box/-/commit/2b260c873fafac29245f2e34ae65eeff0935c457

              The file on the server is /home/yellowtent/box/src/dns/waitfordns.js. Just retry the task after you make the change and it should work (no need to restart anything).

              T 1 Reply Last reply
              1
              • girishG girish

                @TheNils Can you try this single line fix:

                https://git.cloudron.io/cloudron/box/-/commit/2b260c873fafac29245f2e34ae65eeff0935c457

                The file on the server is /home/yellowtent/box/src/dns/waitfordns.js. Just retry the task after you make the change and it should work (no need to restart anything).

                T Offline
                T Offline
                TheNils
                App Dev
                wrote on last edited by
                #7

                @girish thanks, that worked 🙂

                1 Reply Last reply
                1
                • girishG girish marked this topic as a question on
                • girishG girish has marked this topic as solved on
                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