Unable to create or modify an entry in local mode

Hello

I have installed a container vaultwarden (vaultwarden/server) on a synology

from a remote location everything is working fine

but in local, I cannot acces to vaultwarden container, because my internet box is not supporting the Nat loopback

to solve the problem I installed an adguardhome container on this nas synology, and add a rewrite dns in the adguard :

*.mydomainname 192.168.1.8 (adresse ip of hte nas)

with the dns set to the NAS, I am able to connect ot vaultwarden, et open it

but If I want to modifiy or create an entry I have a message : failed

form a remote location it is working fine

question : how to have more information to see where is the problem ?

may be something wrong in the adguardhome ?

thanks a lot for any help

regards

yves

What do the logs say (use your container name)?

docker logs vaultwarden

I have almost the same setup without adguardhome. The DNS resolution at home is either from the host file or the dnsmasq in the router. No wildcards in the DNS and certificate though. Vaultwarden works perfectly locally or remotely.

Thanks for your message

in fact I have found the reason of the problem, I was not using adguardhome

with windows 11, with ipv6 disable, there is a DNS Ipv6 on the first position and pointing to the box, and the certificat was mediarouter.home, it is not the certiifcat of the nas …

ok I try to use the hosts file, but I made a mistake, I put a wild card, like *.mydomain

but the wilcard is not supported in the hosts file…..

at the end I put the definition in the hosts file (without wild card) and it is working fine

but I didn’t find how to remove the dns ipv6 ??? I have add the dns of the nas in the ethernet definition, but with ipconfiig /all the ipv6 dns is still there, may be to disable the ipv6 with an entry in the registry ??

looking to the computer of my wife, running windows 11 also, the dsn ipv6 is not in the first position ??

but now I can use vaultwarden

thnaks again for your message, I can close this discussion

regards

Yves

1 Like