mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 09:46:00 +03:00
[GH-ISSUE #1032] DNS client on container not working #729
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#729
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sbach89 on GitHub (Jun 12, 2020).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/1032
Subject of the issue
DNS client on container not working, container unable to resolve hostnames to send email, connect to Yubico validations servers and pull in Website Icons,
Your environment
Steps to reproduce
CentOS 8 host.
SELinux is disabled on host.
FirewallD is disabled on host.
Container has correct internal DNS servers in /etc/resolv.conf
I then generate a systemd file with podman and enable and run it.
Attempting to see if there was some type of issue with Podman, I installed Docker and ran the following:
Same results, not able to resolve hostnames. The host is able to ping and resolve via hostnames.
Expected behaviour
Be able to resolve hostnames.
Actual behaviour
Not resolving hostnames effectively no longer allowing users with 2FA able to login
Relevant logs
Here is a snippet from trying to pull website icons, this is happening for my entire vault.
Here is log trying to contact Yubico
And here is log for SMTP failure.
@sbach89 commented on GitHub (Jun 12, 2020):
I just realized I was running an old version, I'm now on 1.15.0-52ed8e4d, and under Diagnostics > DNS check,
@sbach89 commented on GitHub (Jun 12, 2020):
Ok this is resolved now. I updated Podman to 1.9.3 and everything is working now, so it was not related to Bitwarden_rs.