Problem Resolving DSN -> Synology Docker + Pi-hole #1276
Replies: 1 comment 1 reply
-
It's probably a consequence of Docker network configuration. I faced a similar problem in my deployment - the root cause was the lack of routing between bitwarden_rs and the Pi-hole. Both deployed as docker containers, but Pi-hole was using macvlan driver attached directly to eth0 with manually configured IP (to be accessible on the standard UDP:53, because I also run DMS's native "DNS Server"). Linux blocks network communication between such containers for better isolation and security. I ended up exposing the Pi-hole just and only to the other devices on my network via DHCP, but the NAS itself (and consequently all containers running on it too) bypasses the Pi-hole and talks directly to the DNS proxy on my gateway router - DNS address is configured manually in the DMS settings. It was just easier this way. Software running on the NAS is way less likely to be accessing some fishy sites compared to a human using his/her PC or mobile so forgoing the extra protection of the Pi-hole on the NAS is a compromise I can live with. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm having trouble to resolve the DNS from Bitwarden_rs when installed via docker, inside my synology NAs & using Pi-hole.
Is there a way to manually pass my DNS server? Would it be possible to be added as a next feature?
Why I need it? I won a Yubikey 5 NFC to play with and my bitwarden installation is working as it should, but not when I try to install Two-step Login using YubiKey OTP Security Key, it will give me this error:
Looking at the logs:
If I run the URL API yubico, I get good authentication, so everything is configured as it should, except my DNS.
Thanks for any guidance.
Beta Was this translation helpful? Give feedback.
All reactions