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

document 127.0.0.11 #20532

Open
1 task done
qhaas opened this issue Aug 4, 2024 · 5 comments
Open
1 task done

document 127.0.0.11 #20532

qhaas opened this issue Aug 4, 2024 · 5 comments
Assignees
Labels
area/networking Relates to anything around networking lifecycle/frozen

Comments

@qhaas
Copy link

qhaas commented Aug 4, 2024

Is this a docs issue?

  • My issue is about the documentation content or website

Type of issue

I can't find what I'm looking for

Description

Mention of 127.0.0.11 as being an 'implicit ip' convenient for DNS configuration (e.g. in nginx) described in issue #1969 and added in pull 2822 does not seem to exist anymore. Several third-party guides, discussions, libnetwork tests, libnetwork source, etc. reference it, but I cannot find it specifically mentioned and described in the official documentation anymore.

Location

https://docs.docker.com/network/#dns-services

Suggestion

Document 127.0.0.11 as being an implicit DNS server IP

@qhaas qhaas added the status/triage Needs triage label Aug 4, 2024
@dvdksn
Copy link
Contributor

dvdksn commented Aug 5, 2024

cc @robmry - I assume this is still applicable. Is there a corresponding ip6 address?

@dvdksn dvdksn added area/networking Relates to anything around networking and removed status/triage Needs triage labels Aug 5, 2024
@dvdksn dvdksn self-assigned this Aug 5, 2024
@robmry
Copy link
Contributor

robmry commented Aug 5, 2024

Yes, we still use 127.0.0.11.

There's no IPv6 equivalent, IPv4 loopback will always work (even in an IPv6-only container).

@docker-robot
Copy link

docker-robot bot commented Nov 3, 2024

There hasn't been any activity on this issue for a long time.
If the problem is still relevant, mark the issue as fresh with a /remove-lifecycle stale comment.
If not, this issue will be closed in 14 days. This helps our maintainers focus on the active issues.

Prevent issues from auto-closing with a /lifecycle frozen comment.

/lifecycle stale

@thaJeztah
Copy link
Member

@robmry anything to update here in the docs to mention our use of 127.0.0.11 as default for the embedded DNS resolver inside the container (on custom networks)?

@robmry
Copy link
Contributor

robmry commented Nov 18, 2024

I think we could mention it, there's no plan to change the address.

Something like https://github.com/docker/docs/pull/10019/files, but perhaps clarifying that it only applies to user-defined bridge networks (at least until buildkit can deal with an internal resolver on the default bridge and we re-do moby/moby#48020).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/networking Relates to anything around networking lifecycle/frozen
Projects
None yet
Development

No branches or pull requests

4 participants