mirror of
https://github.com/mageddo/dns-proxy-server.git
synced 2026-04-25 09:25:56 +03:00
[GH-ISSUE #103] Can't make it work properly (Got recursion not available) #44
Labels
No labels
bug
confirmed
discussion
duplicate
enhancement
feature
feature-request
not-planned
pull-request
secondary-feature
stale
triage
waiting-feedback
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/dns-proxy-server-mageddo#44
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @b4dnewz on GitHub (Dec 4, 2018).
Original GitHub issue: https://github.com/mageddo/dns-proxy-server/issues/103
Great package, I'm very exited to use it during development, I followed the installation process but unfortunately I can't make it work properly.
I'm on debian and using Docker version 17.12.0-ce, build c97c6d6, docker-compose version 1.17.1 and DPS Version: 2.9.1.
There are few things I've done for debugging, here follows the steps from the beginning:
Steps to reproduce the behavior:
Noticed it wasn't using the DPS container as DNS server, after inspecting the host resolv.conf file I see it hasn't been updated:
I've opened the bash inside DPS and checked the respective
resolv.conffile:So the
resolv.conffile doesn't get automatically updated, I've updated manually addingnameserver 172.17.0.2 # dps-entryand tried again:Now it's working fine with the internet, let's try the docker containers:
And the respective logs from dns-proxy-server:
I hope this help to figure out what's the problem, thanks in advance.
@mageddo commented on GitHub (Dec 4, 2018):
Thank you to be using DPS.
Looks like we have two issues here.
1. DPS don't update your resolvconf automatically
Last days I experienced some issues with docker volume when you just make a volume for one file.
looks like docker lost file reference then file changes don't make effect on the host machine.
I will elaborate a way to fix this later, stay sharp
2. DPS don't solve others containers IPs
That's really weird, never got this, please try clear your /etc/resolv.conf and put only DPS entry, something like that
@b4dnewz commented on GitHub (Dec 4, 2018):
Hi @mageddo thanks for your quick reply!
Has fixed the problem of the
resolve.confautomatic update and apparently also the resolving of the other containers, that's awesome!The problem probably came from the default configuration, now I can start using it, thanks again.
@mageddo commented on GitHub (Dec 4, 2018):
Really? I didn't expect that to work lol
/opt/dns-proxy-server/confdirectory?Cause maybe I could introduced a bug on 2.9.1 creating an invalid config.json when it doesn't exists
@b4dnewz commented on GitHub (Dec 4, 2018):
Sorry for the delay, I was having lunch :)
I'm testing it out now and I'll update you if I have more troubles or questions, thanks!