Suppose $Q$ is the field of fractions for a domain $R$ and $A$ is an $R$-module such that $rA = 0$ for some $0 \ne r \in R$. Why is it the case that $\text{Ext}_R^n(Q,A) = 0$ for all $n \ge 0$?
I have a feeling this isn't too hard, and maybe relies on a fact about injective modules I'm forgetting. The case $n = 0$ is pretty simple, because it's easy to see why $\text{Hom}(Q,A) = 0$.
If you can give me a useful hint without a full answer to the problem, I'd be grateful.