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

remote-session: use --net=host for remote cosa #3674

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

jlebon
Copy link
Member

@jlebon jlebon commented Nov 30, 2023

It seems like podman purposely filters out local DNS resolvers like
systemd-resolved in favour of directly specifying the upstream DNS
servers. That messes up with a VPN setup we have though where we need to
go through systemd-resolved to resolve hosts located on the VPN.

Passing --dns=127.0.0.53 would also work, but let's just simplify
things further and pass through the host network.

Ref: containers/podman#3277

It seems like podman purposely filters out local DNS resolvers like
systemd-resolved in favour of directly specifying the upstream DNS
servers. That messes up with a VPN setup we have though where we need to
go through systemd-resolved to resolve hosts located on the VPN.

Passing `--dns=127.0.0.53` would also work, but let's just simplify
things further and pass through the host network.

Ref: containers/podman#3277
Copy link
Member

@ravanelli ravanelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jlebon
Copy link
Member Author

jlebon commented Nov 30, 2023

That messes up with a VPN setup we have though where we need to
go through systemd-resolved to resolve hosts located on the VPN.

Full disclosure: I didn't fully work out what was going on there, and there might be a more proper fix elsewhere in the stack, but... this works and I think is closer to what we want anyway in this context.

Copy link
Member

@dustymabe dustymabe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dustymabe dustymabe merged commit 0ea2173 into coreos:main Dec 1, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants