DNS problems when using L2TP
So, there is a working VPN L2TP IPsec, which successfully connects and works, the DNS in the connection properties is correct, but the problem is that all internal resources are available only by IP address, no DNS name is resolved. That is, I can connect via RDP to some machine by specifying the IP address, but I can't connect to it by name.
This problem is not present on all Windows computers. Sending all traffic via VPN also fails.
Is there a solution to this problem?
macOS Ventura 13.5
MacBook Air 13″