[GH-ISSUE #159] host.docker can't resolved #66

Closed
opened 2026-02-26 04:33:56 +03:00 by kerem · 2 comments
Owner

Originally created by @jwundrak on GitHub (Sep 2, 2019).
Original GitHub issue: https://github.com/mageddo/dns-proxy-server/issues/159

What is expected

From the linux-Teams: resolving host.docker is not work anymore since 2.14.6

What is Happening

Resolving host.docker returns an not found

Specs:

  • OS: (K)ubuntu/arch
  • Docker Version: min 18.03
  • DPS Version: latest hub_version
Originally created by @jwundrak on GitHub (Sep 2, 2019). Original GitHub issue: https://github.com/mageddo/dns-proxy-server/issues/159 ### What is expected From the linux-Teams: resolving host.docker is not work anymore since 2.14.6 ### What is Happening Resolving host.docker returns an not found **Specs:** - OS: (K)ubuntu/arch - Docker Version: min 18.03 - DPS Version: latest hub_version
kerem closed this issue 2026-02-26 04:33:56 +03:00
Author
Owner

@mageddo commented on GitHub (Sep 5, 2019):

I've tried and it works well for me, can you elaborate the steps to reproduce the issue?

$ docker run --rm --hostname dns.mageddo \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /etc/resolv.conf:/etc/resolv.conf \
defreitas/dns-proxy-server:2.18.0

$ nslookup host.docker
Server:		172.17.0.2
Address:	172.17.0.2#53

Non-authoritative answer:
Name:	host.docker
Address: 172.17.0.2
Name:	host.docker
Address: 172.17.0.2

<!-- gh-comment-id:528176683 --> @mageddo commented on GitHub (Sep 5, 2019): I've tried and it works well for me, can you elaborate the steps to reproduce the issue? ``` $ docker run --rm --hostname dns.mageddo \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /etc/resolv.conf:/etc/resolv.conf \ defreitas/dns-proxy-server:2.18.0 $ nslookup host.docker Server: 172.17.0.2 Address: 172.17.0.2#53 Non-authoritative answer: Name: host.docker Address: 172.17.0.2 Name: host.docker Address: 172.17.0.2 ```
Author
Owner

@mageddo commented on GitHub (Sep 5, 2019):

@jwundrak

<!-- gh-comment-id:528176719 --> @mageddo commented on GitHub (Sep 5, 2019): @jwundrak
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/dns-proxy-server-mageddo#66
No description provided.