-
-
Notifications
You must be signed in to change notification settings - Fork 657
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto DNS on Windows #101
Comments
@AgarvaiN this is an issue related to how Docker Toolbox works. It only works via (afaik) a VirtualBox middle man that provides the actual docker functionality. The Hope this is somehow understandable (a little bit complicated to explain for me). However, it should work if you use the native Docker for windows: Docker for Windows. Could you give this a try instead of the old Toolbox. In the mean-time I will think a bit if it can be accomplished with the toolbox via some port-forwarding. |
I might have a workaround: In bind:
...
environment:
- WILDCARD_ADDRESS=127.0.0.1
- DNS_FORWARDER=${BIND_DNS_RESOLVER:-8.8.8.8,8.8.4.4}
php:
...
environment:
- FORWARD_PORTS_TO_LOCALHOST=80:httpd:80,3306:mysql:3306,5432:pgsql:5432,6379:redis:6379,11211:memcd:11211,27017:mongo:27017,5672:rabbit:5672,15672:rabbit:15672 Then the only thing left to do for you is to forward port |
Yeah I understand it's related to That didn't do the trick for me tho.
If it helps |
Sorry, one more thing, on my host machine do I leave the DNS set to |
The actual issue is to find a common denominator: The DNS server must resolve
That means there must be one IP address that where you can reach the httpd server and this IP address must work from within the PHP container and from your host computer. So either Additionally, The DNS server's port must be changed in |
Btw, is |
I'm having issue with Auto DN S(Bind) on Windows Machine
Docker version 17.05.0-ce, build 89658be
docker-compose version 1.13.0, build 1719ceb8
Using Docker Toolbox on Windows
My LOCAL_LISTEN_ADDR=192.168.137.130:
DNS Server are set to 192.168.137.130; 8.8.4.4; 8.8.8.8 In my Network Config
And everything works except for Auto DNS option, which i'd really like, because editing /etc/hosts on Windows is slightly annoying.
When I do edit it, it does propagate properly, so I can confirm everything is working on that side.
But DNS Server is not accessible through 192.168.137.130, I tested it as standalone, and internet becomes inaccessible completely.
Anyways, I saw you are planning on including some Windows related fixes, so you might want to include this as well.
Not sure where exactly does the issue occur, or if I'm not doing something properly(Although I think I covered the most of it), so if anything else is needed, let me know I'll provide further details.
The text was updated successfully, but these errors were encountered: