George Francomb’s second-half strike saw Dorking edge out Barnet 2-1.
Harry Smith scored the opener with a well-timed header to put the Bees in front after 10 minutes.
Luke Moore nearly brought the hosts level, but goalkeeper Laurie Walker made a good save.
Dorking equalised in the 41st minute when captain Tony Craig picked out Josh Taylor, who slotted the ball into the bottom corner.
Francomb then fired home the winner in the 56th minute, smashing the ball into the top corner from the edge of the area.
Subscribe or register today to discover more from DonegalLive.ie
Buy the e-paper of the Donegal Democrat, Donegal People's Press, Donegal Post and Inish Times here for instant access to Donegal's premier news titles.
Keep up with the latest news from Donegal with our daily newsletter featuring the most important stories of the day delivered to your inbox every evening at 5pm.