running a DNS forwarder/resolver with pasta / publish port 53/udp with pasta #22483
-
I am currently trying to switch my containers from using slirp4netns to pasta and can't get pihole to work properly. Currently I'm testing this on my Silverblue system, using Podman 5.0.1:
Pihole seems to to run fine but its answers appear to get lost on the way back out of the container when using udp and not localhost. inside the container: outside the container: I can see the timed out requests in the pihole query log, so they appear to reach pihole and disappear after that. Is this some kind of shortcoming of pasta, compared to slirp4netns, because of how it's DNS works, or possibly a bug? Are there any podman/pasta options to get this working? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 13 replies
-
What pasta version are you using? |
Beta Was this translation helpful? Give feedback.
-
@sbrivio-rh @dgibson ideas? |
Beta Was this translation helpful? Give feedback.
-
I think it's a bug that @dgibson just happened to fix yesterday: https://bugs.passt.top/show_bug.cgi?id=87 -- the use case reported there looks exactly the same, with pihole running in a container for DNS resolution. I'll report back here once the changed is merged and released. |
Beta Was this translation helpful? Give feedback.
-
I concur, this looks exactly like bug 87. |
Beta Was this translation helpful? Give feedback.
-
Hi! Were you able to work around this bug? The fix doesn't seem to have been merged in pasta yet. |
Beta Was this translation helpful? Give feedback.
I think it's a bug that @dgibson just happened to fix yesterday: https://bugs.passt.top/show_bug.cgi?id=87 -- the use case reported there looks exactly the same, with pihole running in a container for DNS resolution.
I'll report back here once the changed is merged and released.