-
For some reason dns resolution is not working and I don't see the problem. This creates the pod.
Now I want resolve the IP from a container. I am not sure
But it should work on a pod
Now I am digging a little deeper. Inspecting the container I can get the IP and reach the container:
This is what is in the
Now checking the
Trying the lookup from the server directly from the host works:
But for some reason the lookup fails from the container:
Why? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 6 replies
-
@Luap99 PTAL |
Beta Was this translation helpful? Give feedback.
-
What podman version is this? Are you using netavark/aardvark-dns? Are you running rootless? Also you should only set --network on the pod create command, not the the individual containers that are joined to this pod. While it is a valid configuration it is likely not what you want. A pod is used so that all container share the network. If you give each container a new --network then they will not share the network and instead have their own separate network stack. |
Beta Was this translation helpful? Give feedback.
-
@tcurdt - I was having similar problems. Short story is I set Slightly longer story (which might not be 100% accurate because there was a lot of retrying and also a The test case Not really sure what's going on or if I'll break other things... but there you go. Maybe it'll work for you |
Beta Was this translation helpful? Give feedback.
-
This seems to be a NixOS issue. |
Beta Was this translation helpful? Give feedback.
-
Hello, I'm using fedora and have the same issue. |
Beta Was this translation helpful? Give feedback.
This seems to be a NixOS issue.
The package does not open the firewall correctly by default.
A fix is being discussed.