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
  • Brite
  • 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. Error: Domain nameservers are not set to NameCheap

Error: Domain nameservers are not set to NameCheap

Scheduled Pinned Locked Moved Solved Support
dnsnamecheap
9 Posts 3 Posters 17 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.
  • S Offline
    S Offline
    shrey
    wrote last edited by shrey
    #1

    (Sub-)Domain setup error:

    Domain nameservers are not set to NameCheap
    

    Where can i check which values are being compared with, by Cloudron, for the nameservers belonging to NameCheap?

    My initial suspicion is that only the default Nameservers of NameCheap might be used for checking, and not the additional options like FreeDNS (which i'm using) [See: NameCheap FreeDNS]

    1 Reply Last reply
    1
    • jamesJ james

      @shrey said in Error: Domain nameservers are not set to NameCheap:

      It seems that i had missed setting the proper value for the "Zone Name", which is necessary in my case as the Domain and the concerned Subdomain are hosted in 2 different places..

      Ah, so you delegated a zone to another DNS and forgot to set the "Zone Name".

      @shrey said in Error: Domain nameservers are not set to NameCheap:

      It seems the Retry Location change tasks is still checking against the earlier Nameservers, and not the latest ones.

      This could be a bug. Can you try to cancel the change location task and create it again?

      S Offline
      S Offline
      shrey
      wrote last edited by shrey
      #8

      @james said in Error: Domain nameservers are not set to NameCheap:

      This could be a bug. Can you try to cancel the change location task and create it again?

      Done!
      Sorry, my first time with this sort of Subdomain delegations.

      In the Retry Task, I had to change the location to the newly added, 'subdomain as root' option.

      Thanks again!

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

        Hello @shrey
        Have you looked at the box.log for more details logs on this error?

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

          The code checks for registrar-servers.com - https://git.cloudron.io/platform/box/-/blob/master/src/dns/namecheap.js?ref_type=heads#L272 . Can you try host -t NS domain.com 127.0.0.150 on the server? That gives the nameservers Cloudron is comparing against .

          1 Reply Last reply
          1
          • S Offline
            S Offline
            shrey
            wrote last edited by
            #4

            @james @girish Thanks for the quick replies!

            It seems that i had missed setting the proper value for the "Zone Name", which is necessary in my case as the Domain and the concerned Subdomain are hosted in 2 different places..

            I have now added the value and Synced DNS. But, i'm still facing issue in bringing up the app. It seems the Retry Location change tasks is still checking against the earlier Nameservers, and not the latest ones.

            Nov 24 14:59:10 box:dns/waitfordns waitForDns: nameservers are ["ns02.one.com","ns01.one.com"]
            Nov 24 14:59:11 box:dns/waitfordns resolveIp: Checking A for <subdomain> at 185.10.11.10
            Nov 24 14:59:11 box:dns/waitfordns resolveIp: No A. Checking CNAME for <subdomain> at 185.10.11.10
            Nov 24 14:59:11 box:dns/waitfordns isChangeSynced: NS ns02.one.com (185.10.11.10) errored when resolve <subdomain> (A): Error: queryCname ENODATA <subdomain>
            Nov 24 14:59:11 box:dns/waitfordns resolveIp: Checking A for <subdomain> at 2001:67c:3c0::10
            Nov 24 14:59:11 box:dns/waitfordns resolveIp: No A. Checking CNAME for <subdomain> at 2001:67c:3c0::10
            Nov 24 14:59:11 box:dns/waitfordns isChangeSynced: NS ns02.one.com (2001:67c:3c0::10) errored when resolve <subdomain> (A): Error: queryCname ENODATA <subdomain>
            Nov 24 14:59:11 box:dns/waitfordns Attempt 10 failed. Will retry: ETRYAGAIN
            
            jamesJ 1 Reply Last reply
            1
            • S shrey

              @james @girish Thanks for the quick replies!

              It seems that i had missed setting the proper value for the "Zone Name", which is necessary in my case as the Domain and the concerned Subdomain are hosted in 2 different places..

              I have now added the value and Synced DNS. But, i'm still facing issue in bringing up the app. It seems the Retry Location change tasks is still checking against the earlier Nameservers, and not the latest ones.

              Nov 24 14:59:10 box:dns/waitfordns waitForDns: nameservers are ["ns02.one.com","ns01.one.com"]
              Nov 24 14:59:11 box:dns/waitfordns resolveIp: Checking A for <subdomain> at 185.10.11.10
              Nov 24 14:59:11 box:dns/waitfordns resolveIp: No A. Checking CNAME for <subdomain> at 185.10.11.10
              Nov 24 14:59:11 box:dns/waitfordns isChangeSynced: NS ns02.one.com (185.10.11.10) errored when resolve <subdomain> (A): Error: queryCname ENODATA <subdomain>
              Nov 24 14:59:11 box:dns/waitfordns resolveIp: Checking A for <subdomain> at 2001:67c:3c0::10
              Nov 24 14:59:11 box:dns/waitfordns resolveIp: No A. Checking CNAME for <subdomain> at 2001:67c:3c0::10
              Nov 24 14:59:11 box:dns/waitfordns isChangeSynced: NS ns02.one.com (2001:67c:3c0::10) errored when resolve <subdomain> (A): Error: queryCname ENODATA <subdomain>
              Nov 24 14:59:11 box:dns/waitfordns Attempt 10 failed. Will retry: ETRYAGAIN
              
              jamesJ Offline
              jamesJ Offline
              james
              Staff
              wrote last edited by
              #5

              @shrey said in Error: Domain nameservers are not set to NameCheap:

              It seems that i had missed setting the proper value for the "Zone Name", which is necessary in my case as the Domain and the concerned Subdomain are hosted in 2 different places..

              Ah, so you delegated a zone to another DNS and forgot to set the "Zone Name".

              @shrey said in Error: Domain nameservers are not set to NameCheap:

              It seems the Retry Location change tasks is still checking against the earlier Nameservers, and not the latest ones.

              This could be a bug. Can you try to cancel the change location task and create it again?

              S 2 Replies Last reply
              0
              • jamesJ james

                @shrey said in Error: Domain nameservers are not set to NameCheap:

                It seems that i had missed setting the proper value for the "Zone Name", which is necessary in my case as the Domain and the concerned Subdomain are hosted in 2 different places..

                Ah, so you delegated a zone to another DNS and forgot to set the "Zone Name".

                @shrey said in Error: Domain nameservers are not set to NameCheap:

                It seems the Retry Location change tasks is still checking against the earlier Nameservers, and not the latest ones.

                This could be a bug. Can you try to cancel the change location task and create it again?

                S Offline
                S Offline
                shrey
                wrote last edited by
                #6

                @james said in Error: Domain nameservers are not set to NameCheap:

                This could be a bug. Can you try to cancel the change location task and create it again?

                I tried that. But this is the only option available:
                477addee-8386-436b-af4e-e92d259f8a84-image.png

                And every time i try the "Retry task", it falls back into the same loop.

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

                  Hello @shrey
                  Can you please try the following approach:

                  In your Cloudron Dashboard, go to the https://my.DOMAIN.TLD/#/services and restart the unbound service.
                  After that is done, click Retry location change task again.

                  If this does not resolve it, please connect to your server with ssh and run cloudron-support --troubleshoot and after that Retry location change task again.

                  1 Reply Last reply
                  0
                  • jamesJ james

                    @shrey said in Error: Domain nameservers are not set to NameCheap:

                    It seems that i had missed setting the proper value for the "Zone Name", which is necessary in my case as the Domain and the concerned Subdomain are hosted in 2 different places..

                    Ah, so you delegated a zone to another DNS and forgot to set the "Zone Name".

                    @shrey said in Error: Domain nameservers are not set to NameCheap:

                    It seems the Retry Location change tasks is still checking against the earlier Nameservers, and not the latest ones.

                    This could be a bug. Can you try to cancel the change location task and create it again?

                    S Offline
                    S Offline
                    shrey
                    wrote last edited by shrey
                    #8

                    @james said in Error: Domain nameservers are not set to NameCheap:

                    This could be a bug. Can you try to cancel the change location task and create it again?

                    Done!
                    Sorry, my first time with this sort of Subdomain delegations.

                    In the Retry Task, I had to change the location to the newly added, 'subdomain as root' option.

                    Thanks again!

                    jamesJ 1 Reply Last reply
                    1
                    • S shrey has marked this topic as solved
                    • S shrey

                      @james said in Error: Domain nameservers are not set to NameCheap:

                      This could be a bug. Can you try to cancel the change location task and create it again?

                      Done!
                      Sorry, my first time with this sort of Subdomain delegations.

                      In the Retry Task, I had to change the location to the newly added, 'subdomain as root' option.

                      Thanks again!

                      jamesJ Offline
                      jamesJ Offline
                      james
                      Staff
                      wrote last edited by
                      #9

                      @shrey said in Error: Domain nameservers are not set to NameCheap:

                      Sorry, my first time with this sort of Subdomain delegations.

                      Subdomain delegation can be very, very tricky.
                      Not all DNS providers even support this.
                      I know that DigitalOcean is very straight forward with adding a subdomain as full Domain and works well.
                      But for example Cloudflare or Hetzner do not even allow adding e.g. subdomain.DOMAIN.TLD as a DNS entry.

                      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