The 372 is the bus service which runs between Dumfries and Dalbeattie on the A710 coast road. You may have to change buses at Sandyhills.
Follow the link below for the latest official timetables on the Dumfries & Galloway website. . Scroll down for the 372 service. Note that this is the most reliable source of timetables. The timetables on the bus stops may also not have been updated.