Docker Community Forums

Share and learn in the Docker community.

DNS error connection


(Cpunella) #1

Hi,

I’ve an issue with Docker and “external” connection. In fact, if I lunch a command like docker search mongo, I’ll obtain the following error: Error response from daemon: Get https://index.docker.io/v1/search?q=mongo: dial tcp: lookup index.docker.io on 10.0.75.1:53: read udp 10.0.75.2:54150->10.0.75.1:53: i/o timeout

Information

this is the log:
[15:23:11.404][Mixpanel ][Info ] Tracking: appLaunched
[15:23:11.857][Mixpanel ][Info ] Tracking: heartbeat
[15:23:12.169][BackendServer ][Info ] Started
[15:23:12.205][NamedPipeServer][Info ] CheckInstallation:[]
[15:23:12.208][HyperV ][Info ] Check Hyper-V Windows optional feature
[15:23:12.212][PowerShell ][Info ] Run script…
[15:23:13.915][HyperV ][Info ] Hyper-V Windows feature is enabled
[15:23:13.917][NamedPipeServer][Info ] CheckInstallation done.
[15:23:13.921][NamedPipeServer][Info ] CheckHyperVState:[]
[15:23:13.926][HyperV ][Info ] Check Hyper-V Service State
[15:23:13.936][PowerShell ][Info ] Run script with parameters: -Check True…
[15:23:18.319][HyperV ][Info ] Hyper-V is running and responding
[15:23:18.323][HyperV ][Info ] Hyper-V is running
[15:23:18.325][NamedPipeServer][Info ] CheckHyperVState done.
[15:23:18.396][Authentication ][Info ] Checking token
[15:23:18.540][Authentication ][Info ] Token is valid
[15:23:18.639][Notifications ][Info ] Docker is Initializing…
[15:23:18.651][Updater ][Info ] Checking for updates on the Beta channel…
[15:23:18.661][NamedPipeServer][Info ] Start:[2,2048]
[15:23:18.666][Firewall ][Info ] Opening ports for C:\Program Files\Docker\Docker\Resources\com.docker.proxy.exe and C:\Program Files\Docker\Docker\DockerForWindows.exe…
[15:23:18.670][PowerShell ][Info ] Run script…
[15:23:20.352][Firewall ][Info ] Ports are opened
[15:23:20.355][HyperV ][Info ] Create
[15:23:20.359][PowerShell ][Info ] Run script with parameters: -Create True -CPUs 2 -Memory 2048 -IsoFile C:\Program Files\Docker\Docker\Resources\mobylinux.iso…
[15:23:21.413][HyperV ][Info ] Using existing Switch: DockerNAT
[15:23:21.667][HyperV ][Info ] Using existing Switch IP address
[15:23:21.715][HyperV ][Info ] Using existing Net NAT: DockerNAT
[15:23:21.885][HyperV ][Info ] Using existing: MobyLinuxVM
[15:23:21.913][Dhcp ][Info ] Dhcp starting on port 67, on interface vEthernet (DockerNAT)…
[15:23:21.948][Dhcp ][Info ] Dhcp started.
[15:23:21.957][Proxy ][Info ] Starting com.docker.proxy
[15:23:21.963][HyperV ][Info ] Start
[15:23:21.967][PowerShell ][Info ] Run script with parameters: -Start True…
[15:23:21.990][Proxy ][Info ] docker proxy (on deprecated port): ready
[15:23:22.005][Proxy ][Info ] dns server: ready
[15:23:22.009][Proxy ][Info ] poison pill: ready
[15:23:22.012][Proxy ][Info ] docker proxy: ready
[15:23:22.561][HyperV ][Info ] Starting VM MobyLinuxVM…
[15:23:22.641][Updater ][Info ] Found remote version. Version = 1.11.1.2446
[15:23:22.644][Updater ][Info ] Local version is up to date.
[15:23:22.647][Updater ][Info ] Check for update done.
[15:23:22.794][HyperV ][Info ] Wait for the VM to get an IP address
[15:23:22.819][Dhcp ][Info ] DISCOVER received from 00:15:5D:39:79:95
[15:23:22.825][Dhcp ][Info ] Offer (10.0.75.2) to (00:15:5D:39:79:95)…
[15:23:22.833][Dhcp ][Info ] Offer sent.
[15:23:22.836][Dhcp ][Info ] DISCOVER processed.
[15:23:22.866][Dhcp ][Info ] REQUEST received from 00:15:5D:39:79:95
[15:23:22.872][Dhcp ][Info ] Ack (10.0.75.2) to (00:15:5D:39:79:95)…
[15:23:22.874][Dhcp ][Info ] Ack sent.
[15:23:22.877][Dhcp ][Info ] REQUEST processed.
[15:23:23.820][HyperV ][Info ] Wait for the VM to get an IP address
[15:23:24.835][HyperV ][Info ] Wait for the VM to get an IP address
[15:23:25.850][HyperV ][Info ] Wait for the VM to get an IP address
[15:23:26.866][HyperV ][Info ] Wait for the VM to get an IP address
[15:23:28.087][NamedPipeServer][Info ] Start done.
[15:23:28.096][Notifications ][Info ] Docker is running
[15:23:28.101][Mixpanel ][Info ] Tracking: installShowWelcomePopup
[15:23:28.194][Mixpanel ][Info ] Tracking: appRunning
[15:23:48.720][Proxy ][Info ] proxy >> GET /v1.23/info
[15:23:48.725][Proxy ][Info ] Dial 10.0.75.2:2375
[15:23:48.728][Proxy ][Info ] Lookup IP for 10.0.75.2:2375
[15:23:48.731][Proxy ][Info ] [10.0.75.2]
[15:23:48.734][Proxy ][Info ] Dial IP 10.0.75.2:2375
[15:23:48.751][Proxy ][Info ] proxy << GET /v1.23/info
[15:23:48.854][Proxy ][Info ] proxy >> GET /v1.23/images/search?term=mongo
[15:23:48.857][Proxy ][Info ] Dial 10.0.75.2:2375
[15:23:48.861][Proxy ][Info ] Dial IP 10.0.75.2:2375
[15:23:48.864][Proxy ][Info ] Handle DNS query ;; opcode: QUERY, status: NOERROR, id: 31 ;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;index.docker.io. IN AAAA
[15:23:48.868][Proxy ][Info ] Search for dns server…
[15:23:48.870][Proxy ][Info ] Handle DNS query ;; opcode: QUERY, status: NOERROR, id: 8543 ;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;index.docker.io. IN A
[15:23:53.855][Proxy ][Info ] Handle DNS query ;; opcode: QUERY, status: NOERROR, id: 27398 ;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;index.docker.io. IN AAAA
[15:23:53.858][Proxy ][Info ] Handle DNS query ;; opcode: QUERY, status: NOERROR, id: 3992 ;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;index.docker.io. IN A
[15:23:54.883][Proxy ][Info ] DNS request timed out.
[15:23:54.886][Proxy ][Info ] timeout was 2 seconds.
[15:23:54.890][Proxy ][Info ] Server: UnKnown
[15:23:54.894][Proxy ][Info ] Address: 192.168.1.254
[15:23:54.897][Proxy ][Info ]
[15:23:54.900][Proxy ][Info ] DNS request timed out.
[15:23:54.903][Proxy ][Info ] timeout was 2 seconds.
[15:23:54.906][Proxy ][Info ] DNS request timed out.
[15:23:54.909][Proxy ][Info ] timeout was 2 seconds.
[15:23:54.912][Proxy ][Info ]
[15:23:54.915][Proxy ][Info ] Fetch error: Unable to find name server
[15:23:54.918][Proxy ][Info ] Search for dns server…
[15:23:58.856][Proxy ][Info ] proxy << GET /v1.23/images/search?term=mongo
[15:24:00.908][Proxy ][Info ] DNS request timed out.
[15:24:00.911][Proxy ][Info ] timeout was 2 seconds.
[15:24:00.915][Proxy ][Info ] Server: UnKnown
[15:24:00.918][Proxy ][Info ] Address: 192.168.1.254
[15:24:00.921][Proxy ][Info ]
[15:24:00.924][Proxy ][Info ] DNS request timed out.
[15:24:00.927][Proxy ][Info ] timeout was 2 seconds.
[15:24:00.930][Proxy ][Info ] DNS request timed out.
[15:24:00.932][Proxy ][Info ] timeout was 2 seconds.
[15:24:00.935][Proxy ][Info ]
[15:24:00.938][Proxy ][Info ] Fetch error: Unable to find name server
[15:24:00.941][Proxy ][Info ] Search for dns server…
[15:24:06.935][Proxy ][Info ] DNS request timed out.
[15:24:06.939][Proxy ][Info ] timeout was 2 seconds.
[15:24:06.942][Proxy ][Info ] Server: UnKnown
[15:24:06.945][Proxy ][Info ] Address: 192.168.1.254
[15:24:06.948][Proxy ][Info ]
[15:24:06.952][Proxy ][Info ] DNS request timed out.
[15:24:06.955][Proxy ][Info ] timeout was 2 seconds.
[15:24:06.958][Proxy ][Info ] DNS request timed out.
[15:24:06.960][Proxy ][Info ] timeout was 2 seconds.
[15:24:06.963][Proxy ][Info ]
[15:24:06.966][Proxy ][Info ] Fetch error: Unable to find name server
[15:24:06.969][Proxy ][Info ] Search for dns server…