You must understand that Windows sends a DNS query from the network interface, which has the highest priority (lower value of the interface metric). If you are using Split Tunneling (the “ Use default gateway on remote network” option is unchecked) for your VPN connection, you can access the Internet from your local network, but you cannot resolve DNS addresses in the remote VPN network (IPv6 disabling does not help here). I found some recommendations on disabling IPv6 protocol for your local (LAN) interface and it would help if you want to use the Force-Tunneling mode.
The fact is that Windows 10 is trying to resolve host names in your local network through the DNS servers specified in the VPN connection settings. They are available only by IP addresses, but not by their host names.
At the same time, you can ping any resources on your LAN (try to ping your gateway, neighboring computer or printer IP address).