Some direct regional trains from Austerlitz reach Dourdan in about 35 to 45 minutes. The longer RER C is another option. Start with the medieval castle near the market square, then see how much of the old center you can explore on foot before returning.