Skip to content
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

DNS Resolution host inside domain search cause problem #2610

Open
vdeville opened this issue Jan 7, 2021 · 2 comments
Open

DNS Resolution host inside domain search cause problem #2610

vdeville opened this issue Jan 7, 2021 · 2 comments

Comments

@vdeville
Copy link

vdeville commented Jan 7, 2021

Hello,

Today i discover a issue on my docker installation.
For example, i need to resolve test.test.com, test.com is in my search domain (search test.com), an nslookup test.test.com work without any problem (from externel dns server). On the host machine work without any problem (nslookup, ping, curl etc..) but on container ping start after 3-4 secondes and http call too. nslookup work on container normally.
I think it an IPV6 problem, if i test in the container ping -4 test.test.com he start instantly.

Do you need more information to debug ?

Versions:
On ubuntu 18.04

Client: Docker Engine - Community
 Version:           20.10.2
 API version:       1.41
 Go version:        go1.13.15
 Git commit:        2291f61
 Built:             Mon Dec 28 16:17:32 2020
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.2
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.13.15
  Git commit:       8891c58
  Built:            Mon Dec 28 16:15:09 2020
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.4.3
  GitCommit:        269548fa27e0089a8b8278fc4fc781d7f65a939b
 runc:
  Version:          1.0.0-rc92
  GitCommit:        ff819c7e9184c13b7c2607fe6c30ae19403a7aff
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

Thanks

@vdeville
Copy link
Author

vdeville commented Jan 7, 2021

I'v change the domain search, same issue. When domain dont have AAAA record, he cause problem

@vdeville
Copy link
Author

vdeville commented Jan 7, 2021

For the moment, to fix this issue i'v added --dns option in my daemon.json. Same server, but with this no problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant