I just recently moved to Dumfries for work, definitely had the best luck on Facebook - search for groups called something like “Dumfries property for rent/sale” and put a post up. Incidentally I think if you look up “Dumfries student accommodation” there are flats in town rented out specifically to students (not halls).