For some reason, the required routes are not created automatically. Run the following:
ip route del default
ip route add default dev wg0
ip route add 143.244.40.227 via 192.168.1.1 dev eth0.2
Check the routing table and try to ping the DNS server again.