Moon is easy. Any scope will do, but planets are a really steep learning curve, not to mention needing longer focal length scopes, and cameras with much smaller sensors to fill teh frame properly. Most astronomers actually use webcams to image planets otherwise they are very small within teh frame.
Deep sky objects, galaxies, nebulae etc... then you're into much more money, an even steeper learning curve and specialist guided mounts that track the earth's rotation precisely.
Stick with the moon for now, and see if the astronomy bug bites, because it's a very steep learning curve and a very expensive venture if your interest is photographic only.
I recommend a Skywatcher Explorer 150P. You won't need a motorised mount to shoot the moon, and you can upgrade the mount later if you decide you are serious.
You need a T adaptor ring for whatever camera system you have.
Not all scopes will focus properly with a DSLR attached, even though you can get a camera adaptor ring to fit. This is why I recommend the 150P.. because I have one, and I can guarantee it will focus just fine.