This issue is caused while using the Wireguard in Ubuntu as the installation doesn't come with resolvconf or openresolv
Problem
sid@sid:~$ sudo wg-quick up /etc/wireguard/abc.conf
[sudo] password for sid:
[#] ip link add abc type wireguard
[#] wg setconf abc /dev/fd/63