Issue with login, android, dns

Hello,

I’ve succesfully self-hosted VW and imported my csv and logged in with a browser extension.

Now I have an issue where if I perform an nslookup from my computer I get back the private IP address of the VW server. Great, that’s why it works.

But when I try to login with my phone I get the message “We were unable to process…” so my guess is the phone can’t find the server, that’s why I started doing nslookups and no surprise there the nslookup from my phone is not returning the private IP but the public one.

So, for some reason my phone is ignoring my DNS server configuration and it’s not asking pi-hole for the local DNS record.

Any help, please? Could be that or could be something else but dns resolve problem is my guess.

Thanks.

Your phone is probably use secure DNS, which uses DoH most likely.

Look at your Network & Internet settings for something called Private DNS and turn that off.

Private DNS was off.

What I did was configure DNS Director in my merlin wrt router and have forced pihole IP as DNS for my phone’s MAC address.

Solved the part of the lookup, but still can’t connect the android app to the server…

Follow the steps here Bitwarden Android troubleshooting · dani-garcia/vaultwarden Wiki · GitHub, maybe it provides you more details on the issue and how you can solve it.

solved pulling vaultwarden/server:1.33.2 instead of latest