Persistent dry cough can be due to many reasons. You may have chronic laryngitis or laryngo-pharyngeal reflux.
During night means, it can be due to reflux.
Next Steps
Try anti-reflux medication and warm saline gargle
Health Tips
it's always better to consult an otolaryngologist in person to do a laryngeal endoscopy.