Question about ip resolution #20748
EvanCarroll
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
From my question here, https://unix.stackexchange.com/q/761965/3285
I have two commands, one of them with
# RESOLVES TO IPV6 podman run --network=host ...
And one of them,
# RESOLVES TO IPV4 podman run --network=slirp4netns ...
Is there anyway to ensure both of these resolve to the same address? For some reason the ipv6 resolution isn't blacklisted, the ipv4 resolution is blacklisted.
This can be confirmed if I specify
wget -4
andwget -6
. I find that for both with-6
the requests work and come back with a response; the-4
returns HTTP 403 Forbidden -- it's blacklisted. That tells me this is predominately a resolver problem however if I run,The non-authoritative answers that come back are the same.
But if I run,
I can again see that the slirp4netns chooses ipv4 and host chooses ipv6,
Help this make sense to me, why does
--network=host
resolve to ipv6 by default and not--network=slirp4netns
?Beta Was this translation helpful? Give feedback.
All reactions