Seventh-tier Buxton, the lowest-ranked side left in the FA Cup, will host League One Morecambe in the second round.
The winners of the replay between Altrincham and Gateshead will be at home to League One Charlton.
At least two non-league sides will feature in the third-round draw.
National League South St Albans City travel to National League Boreham Wood and sixth-tier Kidderminster Harriers host National League FC Halifax Town.
Elsewhere, National League Stockport County will travel to League One Rotherham if they beat Bolton Wanderers in a replay.
Buxton, who play in the Northern Premier League Premier Division, won 1-0 at York City on Saturday. They are the lowest ranked team left in the competition, which is celebrating its 150th anniversary.
League One leaders Wigan Athletic, the highest ranked side in the draw at this stage, will be away to Colchester United if they beat Solihull Moors in a replay.
League One Portsmouth, the 2008 winners, are at home to League Two Harrogate Town.
Winners in the second round – to be played between 3-6 December – will receive £34,000 in prize money as well as a spot in the third-round draw alongside Premier League and Championship clubs.
Full FA Cup second-round draw
Yeovil Town v MK Dons/Stevenage
Oxford United/Bristol Rovers v Sutton United
Burton Albion v Port Vale
Buxton v Morecambe
Lincoln City v Hartlepool United/Wycombe Wanderers
AFC Wimbledon v Gillingham/Cheltenham Town
Colchester United v Wigan Athletic/Solihull Moors
Leyton Orient v Tranmere Rovers
Northampton Town/Cambridge United v Bradford City/Exeter City
Doncaster Rovers v Mansfield Town
Walsall v Swindon Town
Rotherham United v Bolton Wanderers/Stockport County
Gateshead/Altrincham v Charlton Athletic
Boreham Wood v St Albans City
Kidderminster Harriers v FC Halifax Town
Carlisle United v Shrewsbury Town
Salford City v Chesterfield
Rochdale/Notts County v Sheffield Wednesday/Plymouth Argyle
Ipswich Town/Oldham Athletic v Barrow
Portsmouth v Harrogate Town