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

Slow dns resolving #96

Open
flomsk opened this issue Mar 21, 2017 · 1 comment
Open

Slow dns resolving #96

flomsk opened this issue Mar 21, 2017 · 1 comment

Comments

@flomsk
Copy link

flomsk commented Mar 21, 2017

Hello @aacebedo
Thank you for great tool, it's make easier to control containers)
But I have some (bug?)
On the host system I paste to first line in resolv.conf
nameserver ip-addr-of-docker0-interface
After that I can resolv container by dns name.
But inside the containers something terrible happens

root@app:/# dig www.google.com
; <<>> DiG 9.9.5-3ubuntu0.13-Ubuntu <<>> www.google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12943
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;www.google.com.			IN	A

;; ANSWER SECTION:
www.google.com.		300	IN	A	216.58.209.68

;; Query time: 4001 msec
;; SERVER: 127.0.0.11#53(127.0.0.11)
;; WHEN: Tue Mar 21 08:50:40 UTC 2017
;; MSG SIZE  rcvd: 59

4001msec!!!
What I'm doing wrong ?
I started dnsdock with
docker run -d -v /var/run/docker.sock:/var/run/docker.sock --name dnsdock -p 172.51.42.1:53:53/udp aacebedo/dnsdock:latest-amd64

@aacebedo
Copy link
Owner

Hi

How many containers are running when you text this feature ?
On which platform are you running dnsdock?

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

2 participants