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. Setup Error - "queryNs ETIMEOUT"

Setup Error - "queryNs ETIMEOUT"

Scheduled Pinned Locked Moved Solved Support
installationdomains
24 Posts 6 Posters 1.8k Views 6 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.
  • J Offline
    J Offline
    jxmesth
    wrote on last edited by joseph
    #1

    Hi all,

    I'm getting an error when trying to set up Cloudron - "queryNs ETIMEOUT"

    Note that I have set this up multiple times before.

    This is the first time I've ever gotten an error.

    Any help is appreciated.

    Thanks.

    1 Reply Last reply
    1
    • J Offline
      J Offline
      joseph
      Staff
      wrote on last edited by
      #2

      @jxmesth you can try host -t NS domain.com on your server. Does it return TIMEOUT ?

      1 Reply Last reply
      0
      • J Offline
        J Offline
        jxmesth
        wrote on last edited by
        #3

        @joseph, thanks for getting back.

        I've run the command and get this as the output

        xx.co.uk name server liz.ns.cloudflare.com.
        xx.co.uk name server albert.ns.cloudflare.com.
        
        J 1 Reply Last reply
        0
        • J jxmesth

          @joseph, thanks for getting back.

          I've run the command and get this as the output

          xx.co.uk name server liz.ns.cloudflare.com.
          xx.co.uk name server albert.ns.cloudflare.com.
          
          J Offline
          J Offline
          joseph
          Staff
          wrote on last edited by
          #4

          @jxmesth That seems ok. Can you run cloudron-support --troubleshoot on the server? Maybe it gives ideas on why DNS might be failing . Which version of Cloudron have you installed (/home/yellowtent/box/VERSION) ? If it's Cloudron 8, you can also try host -t NS domain.com 127.0.0.150 . In that IP, there is unbound running.

          K 1 Reply Last reply
          0
          • J Offline
            J Offline
            jxmesth
            wrote on last edited by
            #5

            @joseph, I've just tried it out again after playing around with a few firewall settings and rules and I've figured out that it was these rules causing the issue.

            I've managed to solve this now.

            Thanks for your help.

            1 Reply Last reply
            1
            • nebulonN nebulon marked this topic as a question on
            • nebulonN nebulon has marked this topic as solved on
            • necrevistonnezrN necrevistonnezr referenced this topic on
            • J joseph

              @jxmesth That seems ok. Can you run cloudron-support --troubleshoot on the server? Maybe it gives ideas on why DNS might be failing . Which version of Cloudron have you installed (/home/yellowtent/box/VERSION) ? If it's Cloudron 8, you can also try host -t NS domain.com 127.0.0.150 . In that IP, there is unbound running.

              K Offline
              K Offline
              kk_cloudron
              wrote on last edited by kk_cloudron
              #6

              @joseph Hi I have the same problem, only I don't think it's a firewall problem because I haven't changed anything and I assume that Cloudron manages the firewall so that everything works fine.
              Anyways: I am running Cloudron v8.0.6 (Ubuntu 24.04 LTS) and the command host -t NS {{domain.tld}} 127.0.0.150 gives me the following message:

              7978653e-7466-4fa1-8923-14865c1d53df-grafik.png

              Any ideas what I could try?

              Thanks a lot!

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

                @kk_cloudron can you check in the services view if unbound is running? The error indicates that it is not.

                You can also check this via SSH using systemctl status unbound

                K 1 Reply Last reply
                0
                • nebulonN nebulon

                  @kk_cloudron can you check in the services view if unbound is running? The error indicates that it is not.

                  You can also check this via SSH using systemctl status unbound

                  K Offline
                  K Offline
                  kk_cloudron
                  wrote on last edited by
                  #8

                  @nebulon Thank you, the unbound service is not running and don't starts when I trigger the restart in the services.
                  In the logs I see related messages (i guess)

                  at genericNodeError (node:internal/errors:984:15)
                  at wrappedFn (node:internal/errors:538:14)
                  at ChildProcess.exithandler (node:child_process:422:12)
                  at ChildProcess.emit (node:events:518:28)
                  at maybeClose (node:internal/child_process:1105:16)
                  at Socket.<anonymous> (node:internal/child_process:457:11)
                  at Socket.emit (node:events:518:28)
                  at Pipe.<anonymous> (node:net:337:12) {
                  	code: 3,
                  	killed: false,
                  	signal: null,
                  	cmd: 'systemctl is-active unbound'
                  }
                  Nov 13 14:55:55 box:shell statusUnbound: systemctl with args is-active unbound errored Error: Command failed: systemctl is-active unbound
                  

                  Could that help to solve the Problem?

                  1 Reply Last reply
                  0
                  • K Offline
                    K Offline
                    kk_cloudron
                    wrote on last edited by
                    #9

                    And this from the Service log:

                    systemd[1]: Starting unbound.service - Unbound DNS Resolver...
                    systemd[1]: unbound.service: Control process exited, code=exited, status=203/EXEC
                    systemd[1]: unbound.service: Failed with result 'exit-code'.
                    
                    1 Reply Last reply
                    0
                    • K Offline
                      K Offline
                      kk_cloudron
                      wrote on last edited by
                      #10

                      Via SSH the command cloudron-support --troubleshoot returned

                      [WARN]  Domain [domain.tld] expiry check skipped because whois does not have this information
                              unbound is down. updating root anchor to see if it fixes it
                      
                      1 Reply Last reply
                      0
                      • K Offline
                        K Offline
                        kk_cloudron
                        wrote on last edited by
                        #11

                        I searched how to updating root achor and found this thread: https://forum.cloudron.io/topic/12496/unbound-anchor-not-found-in-ubuntu-24-04/2

                        When I run apt list --installed | grep unbound there is an entry unbound/noble-updates,noble-security,now 1.19.2-1ubuntu3.3 amd64 [installed].

                        When I check for installable unbound packages, there are two:

                        unbound/noble-updates,noble-security,now 1.19.2-1ubuntu3.3 amd64 [installed]
                        unbound/noble 1.19.2-1ubuntu3 amd64
                        

                        Do I need to install the second too?

                        J 1 Reply Last reply
                        0
                        • K kk_cloudron

                          I searched how to updating root achor and found this thread: https://forum.cloudron.io/topic/12496/unbound-anchor-not-found-in-ubuntu-24-04/2

                          When I run apt list --installed | grep unbound there is an entry unbound/noble-updates,noble-security,now 1.19.2-1ubuntu3.3 amd64 [installed].

                          When I check for installable unbound packages, there are two:

                          unbound/noble-updates,noble-security,now 1.19.2-1ubuntu3.3 amd64 [installed]
                          unbound/noble 1.19.2-1ubuntu3 amd64
                          

                          Do I need to install the second too?

                          J Offline
                          J Offline
                          joseph
                          Staff
                          wrote on last edited by
                          #12

                          I don't think it's an apt package / update issue. Something is causing unbound to not run error (it's an EXEC error). Do you have SELINUX or something like that enabled (this is what some stackoverflow posts suggest for that error).

                          Are you able to run /usr/sbin/unbound -dv manually?

                          K 1 Reply Last reply
                          0
                          • J joseph

                            I don't think it's an apt package / update issue. Something is causing unbound to not run error (it's an EXEC error). Do you have SELINUX or something like that enabled (this is what some stackoverflow posts suggest for that error).

                            Are you able to run /usr/sbin/unbound -dv manually?

                            K Offline
                            K Offline
                            kk_cloudron
                            wrote on last edited by
                            #13

                            @joseph

                            root@...:~# /usr/sbin/unbound -dv
                            [1731569630] unbound[455868:0] notice: Start of unbound 1.19.2.
                            
                            1 Reply Last reply
                            0
                            • nebulonN Offline
                              nebulonN Offline
                              nebulon
                              Staff
                              wrote on last edited by
                              #14

                              that seems to start then. So systemctl restart unbound still fails? If so not sure what the issue is then, we just install unbound from Ubuntu, this is not specific to Cloudron then unless you have changed the unbound configs maybe.

                              You may also try, just to be sure to reinstall unbound and depending on ubuntu version also unbound-anchor:

                              apt reinstall  unbound unbound-anchor
                              
                              1 Reply Last reply
                              0
                              • K Offline
                                K Offline
                                kk_cloudron
                                wrote on last edited by
                                #15

                                Hello Nebulon,
                                yes, the restart still fails. When I run the reinstall command, a message appears that two new packages are being installed: libunbound8 and unbound-anchor.
                                So could this be the problem?

                                If I have changed any configurations, I don't know how, because normally I don't access the server via ssh, but let cloudron manage everything. I only use ssh for disk adjustments or specific instructions from the Cloudron interface. 🤷 😌

                                However. I have started the reinstallation and will wait and see. It is currently taking a while (approx. 5 minutes). The latest message is Setting up unbound (1.19.2-1ubuntu3.3) ...

                                Thanks for the inputs so far !

                                1 Reply Last reply
                                0
                                • K Offline
                                  K Offline
                                  kk_cloudron
                                  wrote on last edited by
                                  #16
                                  This post is deleted!
                                  1 Reply Last reply
                                  0
                                  • K Offline
                                    K Offline
                                    kk_cloudron
                                    wrote on last edited by
                                    #17

                                    Solved! Thanks a lot! (re)installation works.

                                    Do I have to pay attention to any follow-up measures? Or can I leave the administration to Cloudron again?

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

                                      Great. No further things should be required. Maybe some ubuntu dist-upgrade in the past didn't go as planned and something messed with the unbound installation. But glad it got solved.

                                      1 Reply Last reply
                                      0
                                      • potemkin_aiP Offline
                                        potemkin_aiP Offline
                                        potemkin_ai
                                        wrote on last edited by
                                        #19

                                        Got the same problem on vanilla Ubuntu 24.04, reinstall didn't help.
                                        status give all green, host command fails though:

                                        # host -t NS apple.com 127.0.0.150
                                        ;; communications error to 127.0.0.150#53: timed out
                                        Using domain server:
                                        Name: 127.0.0.150
                                        Address: 127.0.0.150#53
                                        Aliases:
                                        
                                        Host apple.com not found: 2(SERVFAIL)
                                        
                                        1 Reply Last reply
                                        0
                                        • J Offline
                                          J Offline
                                          joseph
                                          Staff
                                          wrote on last edited by joseph
                                          #20

                                          Have you tried with just vanilla Ubuntu 24.04 and without Cloudron? I suspect the problem is something network related since this works on all the VPS providers. Besides Cloudron configuration is just apt install unbound-server and the config file - https://git.cloudron.io/platform/box/-/tree/master/setup/start/unbound?ref_type=heads . Nothing else is done.

                                          potemkin_aiP 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