I've installed Wireguard and I successfully connect to my VPN network but I can't resolve domain names using DNS of the VPN network. I can ping internal nodes and I can get IP address that is bound to the domain by nslookup but ping, curl etc can't do this.
I use openvpn also so resolving of domain names works using openvpn connection works fine.
How can I fix resolving domain names with wireguard?
OS: Ubuntu 18.10