Danny Bloomfield led the Linnets to their first victory in seven league games with his hat-trick on Tuesday.
This was the team's first success since their triumph over Banbury more than two months ago.
Carl Holmes also scored in the 47th minute after many misses by the hosts.
Lynn took advantage of a poor Dunstable side which has recently lost players and management.
Danny Hammond lost a chance to score in the second minute, when he hit the side netting.
Bloomfield had many other golden opportunities to open the scoring which he did not take up. A bad back pass let him in, but goalkeeper Paul Taylor saved.
In the tenth minute, he stole in when Ryan Frater missed a header but placed his shot over.
Dean Whitaker had the best moment for Dunstable, when he beat keeper Steve Wilson and headed the ball but it was off-target.
In the 14th minute, Chris Bacon made a brave speculative long-range effort, but missed the goal.
And in the 25th minute, Bloomfield shot from left of the box and injured himself in the process.
His first goal came in the 36th minute, when Dave Staff took a corner from the left and Bloomfield headed it in.
Bacon shot straight at the keeper in the 39th minute, when Bloomfield sent him a low cross.
Holmes scored when Jack Defty knocked on Bloomfield's ball, but 12 minutes into the second half, Bacon passed to Bloomfield, who shot wide.
On the stroke of the hour, Staff sent the ball straight to the keeper who saved at the second attempt.
Shortly afterwards, Holmes shot over the top and then Staff crossed the ball to him, and Holmes headed it wide.
With 11 minutes to go, sub Lee Stevenson passed to Bloomfield, who went on to score his second goal.
Dunstable had their only decent chance in the second half with seven minutes to go, but Jonathan Barnett hit the post.
Bloomfield's hat-trick goal was his eighth in six games as the match ended, heading the ball in after a great Craig Fishlock pass allowed Robbie Harris to cross.
Linnets manager Tommy Taylor said after the game: "It was not 100 per cent bright out there, we created quite a few chances in the first half.
"Dunstable still had a chance of scoring at least two against us, which was disappointing.
"Danny Bloomfield does have a few chances, he must have had two good chances in the first half, but it is nice that he is in the right place at the right time.
"The team is happy to have won a game at home."
Lynn: Wilson, Jones, Setchell, Hammond, Matthews, Defty (Stevenson 74), Camm, Holmes (Fishlock 79), Staff, Bloomfield, Bacon (Harris 84). Subs not used: Blake, McAnally.
Dunstable: Taylor (Massen 63), Hemmings, Childs, Frater (Harvey 51), Kefford, Mills, Keane, Whitaker, Reeves, Barnett, Don.
Referee: R. Beevor (Norfolk). Attendance: 701