I think yes the best strategy is to prevent early exposure to food that you are certain your child will react to.
Aside from fact of lactose intolerance in your family medical history, cow's milk is also undesirable because it has high casein* content that is hard to digest especially with infants whose system isn't prepared enough to handle high levels of nutrients such as these.
Also, infant formulas provide a more healthy diet to your baby.
**Casein: the main protein present in milk and (in coagulated form) in cheese.
https://www.nlm.nih.gov/medlineplus/ency/article/002448.htm
http://www.ncbi.nlm.nih.gov/pmc/articles/PMC2791650/
Read more