Docker Community Forums

Share and learn in the Docker community.

DNS Server Stopped Working

dns

(Jim Kelly) #1

Expected behavior

DNS resolves

Actual behavior

After an unknown period of time, DNS stops resolving from the main (192.168.64.1) server - i.e. dig @192.168.64.1 google.com times out, although nmap shows port 53 open. Inside a container, changing
the container’s DNS from 192.168.64.1 to 8.8.8.8 allows the container to resolve DNS again.

Stopping Docker.app through the Whale -> “Quit Docker” and restarting does nothing, restarting the whole computer did seem to fix it.

Information

Note this pinata output is unfortunately after I restarted and DNS is now working again:

OS X: version 10.11.4 (build: 15E65)
Docker.app: version v1.11.0-beta7
Running diagnostic tests:
[OK] docker-cli
[OK] Moby booted
[OK] driver.amd64-linux
[OK] vmnetd
[OK] osxfs
[OK] db
[OK] slirp
[OK] menubar
[OK] environment
[OK] Docker
[OK] VT-x
Docker logs are being collected into /tmp/20160417-235136.tar.gz
Most specific failure is: No error was detected
Your unique id is: 5218E5A7-551B-4911-8936-360FE4A612BA
Please quote this in all correspondence.

Steps to reproduce the behavior

Unfortunately it’s unclear what caused it, and now it is working. It had taken about two days after installation for it to occur, I’ll update this if it happens again.


(Jim Kelly) #2

Also, forgot to mention, generally a great job, really impressed and liking it so far! Thanks for the hard work!