Closed woncheol-kim closed 3 years ago
Hi there! Oouf plenty of bugs, thanks for taking the time to report it!
v2.0.0-beta
LISTENING_ADDRESS
is fixed in c32d975d9fee638547636221273db2520c11c682. I run the program as root without Docker so I didn't notice it didn't work in Docker running without root, sorry!latest
I try to run it with:
docker pull qmcgaw/dns
docker run -it --rm -e CHECK_DNS=on -e BLOCK_MALICIOUS=on -e BLOCK_ADS=on -e BLOCK_SURVEILLANCE=on qmcgaw/dns
And it seems to work 🤔 Maybe can you share your config to see why it wouldn't work?
Thank you. CHECK_DNS=off solved the problem on my Alpine Linux server.
BTW, running qmcgaw/dns on my Ubuntu server (Oracle Cloud) started to freeze the sshd and I had to stop using the container.
My config:
docker run --rm --network bridge0 --ip 172.19.0.2 -p 53:53/udp --name cloudflare0 -e CHECK_DNS=off -e UNBLOCK=t1.daumcdn.net,daumcdn.net,daum.net -e BLOCK_ADS=on -e BLOCK_SURVEILLANCE=on qmcgaw/dns:v1.11.0
CHECK_DNS=off solved the problem on my Alpine Linux server.
And it still works? If that check fails usually dns doesn't work... What kernel version are you running?
BTW, running qmcgaw/dns on my Ubuntu server (Oracle Cloud) started to freeze the sshd and I had to stop using the container.
Are you sure? Docker containers shouldn't affect host things like sshd. Especially the v1 program is just unbound running, nothing fancy really. Was it a memory/cpu problem perhaps?
My config
Your config looks fine.
The kernel of my Alpine Linux server is 5.10.61-0-lts.
As for the Ubuntu problem, I suspect firewall because it looks fine when I look into the server from Web UI of Oracle Cloud, while I can not connect to it via SSH. But I don't know much about network and firewall...
Alright, I'll close the issue for now since the remaining things are most likely config issues unrelated to the container. Anyway, thanks for reporting all this!
ERROR DNS is not working: after 10 tries: lookup github.com site:github.com/qdm12/dns
Hi, please look into the logs below. This happened on
And I've tried qmcgaw/dns:v1.11.0 and v.latest. Same problem.
The logs:
And I've also tried qmcgaw/dns:v2.0.0-beta
So I've tried the option --user="0" and...