mirror of
https://github.com/mageddo/dns-proxy-server.git
synced 2026-04-26 01:45:59 +03:00
[GH-ISSUE #66] Update documentation: How to use on Windows #29
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#29
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 @imjosh on GitHub (Apr 18, 2018).
Original GitHub issue: https://github.com/mageddo/dns-proxy-server/issues/66
I wanted to use this on Windows 10 as an alternative to editing my HOSTS file. I was able to get this working using Docker CE for Windows w/ Linux containers, but I had to use this
docker runcommand to get it to work (it took me about an hour to figure this out). The only other thing I had to do was change my network adapter setting by making 127.0.0.1 the DNS server.docker run --name dns-proxy-server -p 5380:5380 -p 53:53/udp -v /var/run/docker.sock:/var/run/docker.sock defreitas/dns-proxy-serverPlease consider adding this to the documentation. Thanks!
@mageddo commented on GitHub (Apr 20, 2018):
@imjosh Thank you for your contribution, some days ago I tried to test it on Windows 10 but I had not success.
Surely I will increment the documentation with your contribution, but first
Where did you ran that command? In which terminal? I am wondering about this section
/var/run/docker.sock:/var/run/docker.sockit will work in Windows?I am really newbie about docker for Windows
Regards
@imjosh commented on GitHub (Apr 21, 2018):
From the Windows command prompt
Yes, it works (somehow) and it's required for it to work.
I'm not sure if it works for your intended purpose (primarily for dns within containers?). But it does work for sure as a Windows DNS proxy.
cheers
@mageddo commented on GitHub (May 31, 2018):
I finally updated the docs about how to use on Windows, thanks for your contribution, if you notice any issue please let me know
regards.