Wireguard client DNS issue

I am running a WireGuard server on an AX1800 router and have two WireGuard clients set up on an AX-1800 router and an MT-300N-V2 router respectively. The issue arises when attempting to connect the VPN from the MT-300N-V2 router to the WireGuard server. While the VPN connection is established successfully, DNS resolution fails. Conversely, when connecting from the AX-1800 router to the WireGuard server, the VPN connection is established without any issues and DNS resolution works as expected. The configuraiton is same for both clients. is there something I am missing?