K.S.
My little girl is 3 1/2 years but she gets a dry cough with allergies. So it may be this, but you are right take him to his Dr. Good job mom to get on it quick. If he is teething it could be all the saliva that is tickling his throat and he could be coughing with that, you know how they love not swallowing that and it ends up everywhere.