Depends on how you set it up. I had Wireguard installed and couldn't figure out why only some sites got unblocked by it... And then it turns out it doesn't use the VPN server's DNS automatically, only if you specify so in the settings.
I am stupid, I know. But that's just an example.