I have a local server 192.168.1.10 (I attached DNS record locally to HTTP://inventory.local) In the local network I use this service perfectly.
Today, I decided to connect to the local network via VPN, and unfortunately, I got the error: DNS_PROBE_FINISHED_NXDOMAIN. I add the DNS record to /etc/hosts:
192.168.1.10 http://inventory.local
It does not solve the issue, but I can ping IP 192.168.1.10 and host http://inventory.local. In my case browser can't use this record.
How to configure ubuntu to use a local site via VPN?