Automatic URL Switching works on my phone but not my wife's
Both devices are Android (Mine is OnePlus13R, my wife has the Pixel 7)
I have setup a public domain that we can all access from outside our home network, and it works with no problems. I have also setup a local DNS and made a rewrite using AdguardHome for the local IP routing traffic from hpe.home.lan to 192.168.0.192
In both devices I have provided location access to the application + precise location + disabled Private DNS
In both devices I have enabled Automatic URL Switching and have provided the exact same name for the Wi-Fi and the DNS for the local connection (http://hpe.home.lan:2283 It is also worth mentioning that I have tried with the IP of the NAS directly instead of the DNS record, to no avail)
In both devices I have configured on the bottom the server list and I have added one record, and that is the public domain: https://ptohos.whatever.eu
When on my phone if I switch off my mobile data and I am only connected to Wi-Fi and i restart the immich app I check the settings and see that I am connected via the local DNS, and when I turn off my Wi-Fi and use only mobile data I see that the app is using the public domain after restarting the app.
The same thing does NOT happen on my wife's Pixel 7. When I switch on the Wi-Fi and restart the app I see that I am still connected to the public domain instead of the local one. In the logs from the application I could not find any errors even after I cleared them and tried again. I only see a few logs, one of them says Resuming connection to public DNS.
So my questions:
How do I enable Automatic URL switching on my wife's phone?
How the hell is it working on my phone? I did not import any certificates that I have manually trusted.
I have setup a public domain that we can all access from outside our home network, and it works with no problems. I have also setup a local DNS and made a rewrite using AdguardHome for the local IP routing traffic from hpe.home.lan to 192.168.0.192
In both devices I have provided location access to the application + precise location + disabled Private DNS
In both devices I have enabled Automatic URL Switching and have provided the exact same name for the Wi-Fi and the DNS for the local connection (http://hpe.home.lan:2283 It is also worth mentioning that I have tried with the IP of the NAS directly instead of the DNS record, to no avail)
In both devices I have configured on the bottom the server list and I have added one record, and that is the public domain: https://ptohos.whatever.eu
When on my phone if I switch off my mobile data and I am only connected to Wi-Fi and i restart the immich app I check the settings and see that I am connected via the local DNS, and when I turn off my Wi-Fi and use only mobile data I see that the app is using the public domain after restarting the app.
The same thing does NOT happen on my wife's Pixel 7. When I switch on the Wi-Fi and restart the app I see that I am still connected to the public domain instead of the local one. In the logs from the application I could not find any errors even after I cleared them and tried again. I only see a few logs, one of them says Resuming connection to public DNS.
So my questions:
How do I enable Automatic URL switching on my wife's phone?
How the hell is it working on my phone? I did not import any certificates that I have manually trusted.