DNS Resolution host inside domain search cause problem
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 2.2k
- Forks
- 875
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source files or tests are named. Start by reproducing the reported behavior on Ubuntu 18.04 with Docker 20.10.2, comparing container ping and HTTP requests with ping -4 and nslookup; done means identifying and fixing the cause of the multi-second delay for names within the DNS search domain.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go, linux
- Domain
- infrastructure, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100