I have a main domain registered and hosted with Godaddy. Let's call it example.com
I'd like to point the subdomain foo.example.com to a server I have with Dreamhost. It's in my understanding I have to set up an A Record to point to the IP address of the Dreamhost server.
How do I find out that IP address?