Comments (13)
I am testing it on my machine and it seems to work, would you mind sharing your docker-compose or docker run command?
Also why do you run it in the host network?
Also try disabling the block lists as you may be running out of memory, hence your OS killing the container. You could also try leaving the caching to on
, this is only useful to turn off if you use i. e. pihole on top of unbound.
from dns.
I use the gui of the Docker-Application from Synology-NAS (no separately docker-compose nor docker-command) to create the container. I use the host network, because it was the only way to adress this container from my Pi-hole which runs in a independent container with mavlan-network. I donΒ΄t know what's now different to my past setup when the container was running correctly. The network bridge-mode also does not solve the problem. I also tried several DNS-providers.
Sorry for the inconvenience...
from dns.
No problem, did you try disabling some features as mentioned above? Set some environment variables to off
such as CACHING
or BLOCK_MALICIOUS
to see if it works. Also, does it crash at start or after?
from dns.
I tryed it with disabled features as recommended. Nevertheless, the container crashes immediately with the start an immediately after the automatic restart.
from dns.
It seems the Unbound process is launched successfully and then killed by an outside thing, likely your host OS. I tested it on my Synology NAS as well and it works.
Did you check your memory usage?
from dns.
Hi Quentin, thank you for your tests and clarifications. I tried several things (try and error) but I can not find the problem. The memory usage is ok, also the cpu-utilization. I will search further. The problem definitely seems to be on my side.
from dns.
maybe try running it as root
, by adding the option --user="root"
(try using the command line if it's not available in the Synology UI)
from dns.
Running "as root" did not solve my problem. I can not find the error in my system. I think you can close this thread. I'll let you know if I know more ... thank you again
from dns.
Oh wait, I might know, what's your CPU architecture? Or at least what's your Synology model?
As Unbound is now built from source in the docker build and not simply downloaded and installed, that might be a problem.
from dns.
What you can also try with a terminal is:
wget https://github.com/qdm12/cloudflare-dns-server/archive/02be30420dd36a001a4889d0ab39101060a7af4c.zip -O dns.zip
unzip dns.zip
rm dns.zip
cd dns
docker build -t qmcgaw/cloudflare-dns-server .
to build an older version of the docker image. I'll add more documentation on how to do it, so that you can try with other commits to see when it started failing.
from dns.
I have a Synology DS 716+ with Intel Celeron N3150, Quad Core | Threads=4 | FPU=Yes | Package Arch=Braswell | RAM=DDR3 8 GB (own RAM-Upgrade).
I will try your suggestion ...
Thx
from dns.
Hi, I've added documentation here, please try it out π
EDIT: Your CPU is 64 bit (amd64 architecture), so not the problem π I thought it could be an ARM architecture for example.
from dns.
It seems like the container crashes on my side with a Segmentation fault
, I am not sure if that's a hardware problem or not really, as I have tried with various Unbound versions. For now, use the --restart=always
flag or restart: always
docker-compose config to remedy this.
I will close the issue for now. I am also reworking hard the whole image to run supervised by a Go written program and not shell, so that might solve your problem.
There is also a new Slack channel if you want to join to keep updated and participate in the discussion π
from dns.
Related Issues (20)
- feature request: environment variable to allow privileged ports when running without root
- All `pkg` constructors should validate settings and return an error HOT 1
- Remove exported interfaces in `pkg` and use only local interfaces HOT 1
- Remove prometheus.Registerer interface usage HOT 1
- Add comments for all exported methods in the `pkg` directory
- Option to log requests/responses in color
- cache: remove all expired elements from oldest to newest
- filter: Middleware should keep blocked cached response HOT 1
- Cannot start v2-beta container: invalid value for max entries of the LRU cache HOT 2
- Hardcode DoH URL ip addresses if no DoT/plaintext-DNS should be used to resolve the URL HOT 1
- Add Mullvad DNS servers
- Review namings according to IEFT document
- Respond too large responses with truncated field and switch to TCP
- Ensure dns:v2.0.0-beta works with TCP over 53 for truncated messages
- Enhancement: use pool of DNS connections
- Document the difference between DoT and DoH
- Investigate using `golang.org/x/net/dns`
- MacOS port 53 conflict with mdnsresponder HOT 17
- Panic error on Windows Server 2022 running on a VM HOT 13
- Error on Linux Cent OS with beta version HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dns.