Buynaksk ( ; , Shura/Temirkhan-Shura) is a town in the Republic of Dagestan, Russia, located at the foothills of the Greater Caucasus on the Shura-Ozen River, 40 kilometers southwest of the republic's capital Makhachkala.