Razac-sur-l'Isle is a commune in the Dordogne department in Nouvelle-Aquitaine in southwestern France.