-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[Bug]: DNS between two pods on the same network not working as expected #17370
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
network
Networking related issue or feature
podman-desktop
Comments
We never used the hostname as dns name, always the container/pod name. Although I agree it would make sense to add the hostname as well. |
A friendly reminder that this issue had no activity for 30 days. |
it's how docker works Test case provided in #19025 as well |
Luap99
added a commit
to Luap99/libpod
that referenced
this issue
Jul 11, 2023
We use the name as alias but using the hostname makes also sense and this is what docker does. We have to keep the short id as well for docker compat. While adding some tests I removed some duplicated tests that were executed twice for nv for no reason. Fixes containers#17370 Signed-off-by: Paul Holzinger <[email protected]>
ashley-cui
pushed a commit
to ashley-cui/podman
that referenced
this issue
Jul 13, 2023
We use the name as alias but using the hostname makes also sense and this is what docker does. We have to keep the short id as well for docker compat. While adding some tests I removed some duplicated tests that were executed twice for nv for no reason. Fixes containers#17370 Signed-off-by: Paul Holzinger <[email protected]>
github-actions
bot
added
the
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
label
Oct 10, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
network
Networking related issue or feature
podman-desktop
Issue Description
The DNS with aardvark-dns between two pods connected to the same network seems to be based on the pod's name instead of the hostname.
Steps to reproduce the issue
Describe the results you received
Pinging
foo
from the second pod works, whereas pingingbar
doesn't.Describe the results you expected
Expected results are vice-versa: Pinging
bar
should work.podman info output
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
No
Additional environment details
No response
Additional information
$ podman network inspect test
The text was updated successfully, but these errors were encountered: