Devilbox: Auto DNS not working

Created on 7 Apr 2020  路  6Comments  路  Source: cytopia/devilbox

ISSUE TYPE

  • Bug Report

Checklist

OS / ENVIRONMENT

  1. Host operating system and version: Windows 10 Pro
  2. (Windows) Native Docker or Docker Toolbox: Docker Desktop
  3. Docker version: 2.2.0.5
  4. Docker Compose version: latest
  5. (Linux) Is SELinux enabled?:
  6. What git commit hash are you on?:

SUMMARY

I'm currently using docker in combination with Devilbox with auto DNS enabled.
This works so far.
Now I want to use it on my Windows machine but the auto DNS doesn't work.

STEPS TO REPRODUCE

EXPECTED BEHAVIOUR

A working auto DNS.

ACTUAL BEHAVIOUR

Auto DNS is not working.

OTHER INFORMATION

Start command

 cd c:/devilbox
docker-compose up
bug

Most helpful comment

I just swichted from Docker Toolbox to Docker-Desktop (Win 10 PRO)
with the Hyper-V and Docker-Desktop default settings.

Set the HOST_PORT_BIND=53 in the .env
and 127.0.0.1 as DNS in the network adapter (the generated Hyper-V Virtual Ethernet Adapter):

https://devilbox.readthedocs.io/en/latest/intermediate/setup-auto-dns.html
https://devilbox.readthedocs.io/en/latest/howto/dns/add-custom-dns-server-on-win.html#howto-add-custom-dns-server-on-win

AutoDNS works for me ...

Thanks, adding 127.0.0.1 as DNS in my Hyper-V networkadapter did the job.
I was adding it to my main adapter...

All 6 comments

@StanMenten99 please provide your .env file.

@StanMenten99 please provide your .env file.

env.txt

I just swichted from Docker Toolbox to Docker-Desktop (Win 10 PRO)
with the Hyper-V and Docker-Desktop default settings.

Set the HOST_PORT_BIND=53 in the .env
and 127.0.0.1 as DNS in the network adapter (the generated Hyper-V Virtual Ethernet Adapter):

https://devilbox.readthedocs.io/en/latest/intermediate/setup-auto-dns.html
https://devilbox.readthedocs.io/en/latest/howto/dns/add-custom-dns-server-on-win.html#howto-add-custom-dns-server-on-win

AutoDNS works for me ...

I just swichted from Docker Toolbox to Docker-Desktop (Win 10 PRO)
with the Hyper-V and Docker-Desktop default settings.

Set the HOST_PORT_BIND=53 in the .env
and 127.0.0.1 as DNS in the network adapter (the generated Hyper-V Virtual Ethernet Adapter):

https://devilbox.readthedocs.io/en/latest/intermediate/setup-auto-dns.html
https://devilbox.readthedocs.io/en/latest/howto/dns/add-custom-dns-server-on-win.html#howto-add-custom-dns-server-on-win

AutoDNS works for me ...

Thanks, adding 127.0.0.1 as DNS in my Hyper-V networkadapter did the job.
I was adding it to my main adapter...

@StanMenten99
Good News ...

Good to hear :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Venorcis picture Venorcis  路  6Comments

zack6849 picture zack6849  路  5Comments

gowrav-vishwakarma picture gowrav-vishwakarma  路  6Comments

RaffyeMemon picture RaffyeMemon  路  4Comments

hurrtz picture hurrtz  路  5Comments