It's going to use whatever DNS it gets from DHCP. You have no control when on Mobile network, but if you control the DNS on your local network, that's what is used when you connect with WiFi.
If your phone allows you to use a manual IP address, you might have DNS server settings in there also.