Today we were in the process of changing the hosting on a domain. The client wanted us to keep their original DNS records but they only gave us access to change their name servers. So, we needed to investigate how to get a list of all of their current DNS records so we could replicate those on our name servers. I came across this post: http://serverfault.com/a/294370 and the following command:
dig +nocmd yourdomain.com any +multiline +noall +answer
This command gives us all of their NS, A and MX records. Unfortunately, it leaves out the CNAME records. But these are better than nothing.