Coder Social home page Coder Social logo

Unbound Error upon start up about wirehole HOT 2 OPEN

RobotUser1 avatar RobotUser1 commented on July 18, 2024
Unbound Error upon start up

from wirehole.

Comments (2)

catleeball avatar catleeball commented on July 18, 2024

Same error here. Here's what I'm seeing on Ubuntu 20.04 on Oracle's free tier ARM VPS:

$ sudo docker-compose up

[ long output at:  https://gist.github.com/catleeball/c49896f9dd721bb081f9955be94e4e0f ]

^CGracefully stopping... (press Ctrl+C again to force)
Stopping wireguard ... done
Stopping pihole    ... done
Stopping unbound   ... done

$ sudo docker ps -a
CONTAINER ID   IMAGE                   COMMAND         CREATED          STATUS                     PORTS     NAMES
9ca0004cf6ea   linuxserver/wireguard   "/init"         31 minutes ago   Exited (0) 3 minutes ago             wireguard
f51d5bb31e9e   pihole/pihole:latest    "/s6-init"      31 minutes ago   Exited (0) 3 minutes ago             pihole
fce8b8849aa1   mvance/unbound:latest   "/unbound.sh"   31 minutes ago   Exited (1) 3 minutes ago             unbound


$ for i in $(sudo docker ps -a | awk '{print $1}' | tail -n 3); do
    sudo docker inspect -f '{{ index .Config.Labels "build_version" }}' $i;
done
Linuxserver.io version:- v1.0.20210914-ls41 Build-date:- 2021-09-14T01:35:25+02:00


$ sudo docker logs unbound | head -n 50
standard_init_linux.go:228: exec user process caused: exec format error
[repeated 49x]

I did make a couple small changes, but reverting them I still get the same behavior:

$ git diff
diff --git a/docker-compose.yml b/docker-compose.yml
index 3b56f20..3572bd1 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -32,9 +32,10 @@ services:
       - TZ=America/Los_Angeles # Change to your timezone
       - SERVERPORT=51820
       #- SERVERURL=my.ddns.net #optional - For use with DDNS (Uncomment to use)
-      - PEERS=1 # How many peers to generate for you (clients)
+      - PEERS=6 # How many peers to generate for you (clients)
       - PEERDNS=10.2.0.100 # Set it to point to pihole
       - INTERNAL_SUBNET=10.6.0.0
+      - SERVERURL=[redacted VPS public ipv4 address]

     volumes:
       - ./wireguard:/config
diff --git a/unbound/unbound.conf b/unbound/unbound.conf
index 235ff3b..64d480d 100644
--- a/unbound/unbound.conf
+++ b/unbound/unbound.conf
@@ -303,13 +303,13 @@ server:
     # OPTIONAL:
     # Forward Secure DNS to upstread provider Cloudflare DNS

-    # forward-zone:
-    #     name: "."
-    #     forward-addr: 1.1.1.1@853#cloudflare-dns.com
-    #     forward-addr: 1.0.0.1@853#cloudflare-dns.com
-    #     forward-addr: 2606:4700:4700::1111@853#cloudflare-dns.com
-    #     forward-addr: 2606:4700:4700::1001@853#cloudflare-dns.com
-    #     forward-tls-upstream: yes
+    forward-zone:
+        name: "."
+        forward-addr: 1.1.1.1@853#cloudflare-dns.com
+        forward-addr: 1.0.0.1@853#cloudflare-dns.com
+        forward-addr: 2606:4700:4700::1111@853#cloudflare-dns.com
+        forward-addr: 2606:4700:4700::1001@853#cloudflare-dns.com
+        forward-tls-upstream: yes

     remote-control:
         control-enable: no

I'm checked out to the current head of the repo:

$ git log -n 1
commit 9f5a9ee09f4e16aee95259c7f5c1dea77ac511ff (grafted, HEAD -> master, origin/master, origin/HEAD)

System info:

$ uname -a
Linux phx 5.11.0-1017-oracle #18~20.04.1-Ubuntu SMP Fri Aug 27 11:09:43 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux

$ docker --version
Docker version 20.10.8, build 3967b7d

$ docker-compose --version
docker-compose version 1.29.2, build unknown

Let me know if you need any additional info!

from wirehole.

Jojonintendo avatar Jojonintendo commented on July 18, 2024

This looks like you're on ARM hardware, but the Unbound image isn't made for this architecture. Change it to mvance/unbound-rpi:latest or pedantic/unbound:latest and it should run. Latest versions of Pi-Hole seem to have issues with Unbound anyway, I can no longer resolve DNS locally, it only works when forwarding the requests, but that's another subject.

from wirehole.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.