Unable to resolve DNS on VPN

Hi,

I’m able to connect to my company’s VPN network using GNOME NetworkManager but when I try to login to the remote system using SSH it is not able to resolve the DNS name, It works fine if I use IP instead of the FQDN.

I appreciate any kind of help.

Regards,
Anant

Guys, I resolved it, I just did

cp /etc/resolv.conf.netconfig /etc/resolv.conf

Regards,
Anant