domain name system – Ubuntu Firewall blocking DNS requests to VMWARE guest

I can ping to google DNS 8.8.8.8 but cannot resolve google.com after turning on the host ufw.
Tried searching everywhere and updated ufw and iptables accordingly to allow DNS queries and allow established connection.

My numbered ufw status related to DNS is

Screenshot UFW rules

Note: vmnet 1/192.168.191.1/24, 192.168.191.130(guest), eno4 Host public interface.

The strange thing is when I turn off the host ufw, everything works perfectly on guests side. However, I am able to ping any IP addresses even after turning on the firewall.