Coder Social home page Coder Social logo

unbound failing to work about wirehole HOT 6 CLOSED

iamstoxe avatar iamstoxe commented on August 17, 2024
unbound failing to work

from wirehole.

Comments (6)

jhedd avatar jhedd commented on August 17, 2024

I noticed something similar. Unfortunately, the unbound used (wireguard and pihole are fine) only supports AMD64.
Try an alternate distribution (eg. klutchell/unbound) and see if you can get it to work?

from wirehole.

IAmStoxe avatar IAmStoxe commented on August 17, 2024

According to unbound simply pulling klutchell/unbound should retrieve the correct image for your arch.

Run this

# build a local image
docker build . -t klutchell/unbound

# cross-build for another platform (eg. arm64)
export DOCKER_CLI_EXPERIMENTAL=enabled
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
docker buildx create --use --driver docker-container
docker buildx build . --platform linux/arm64 --load -t klutchell/unbound

Then try again?

This is taken from https://hub.docker.com/r/klutchell/unbound

from wirehole.

jhedd avatar jhedd commented on August 17, 2024

Unlike Rovoska, I'm on Debian Buster (Armbian) not Raspbian, so not if my testing would apply to him.

Anyways, tried pulling klutchell/unbound but it ran into the following:

Creating network "wirehole_private_network" with the default driver
Creating unbound ... done
Creating pihole ... done
Creating wireguard ... done
Attaching to unbound, pihole, wireguard
unbound | [1601347858] unbound[1:0] error: can't bind socket: Permission denied for 0.0.0.0 port 53
unbound | [1601347858] unbound[1:0] fatal error: could not open ports

looks like it's running into the systemd's dns stub resolver, but given it's on a private network, it shouldn't be?

from wirehole.

IAmStoxe avatar IAmStoxe commented on August 17, 2024

from wirehole.

IAmStoxe avatar IAmStoxe commented on August 17, 2024

Closing due to inactivity

from wirehole.

jhedd avatar jhedd commented on August 17, 2024

Sorry, didn't have a chance to get back to this.

Alternate version of unbound should work, but change the docker-compose to account for:
"Please note that chroot and username configuration fields are not supported as the service is already running as nobody:nogroup."

Thanks for the support IAmStoxe, but I ended up just using your existing x86 version.

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.