The Imps will host Hartlepool United or Wycombe Wanderers in the second round of the Emirates FA Cup.
The game will be played in the first weekend of December, with whomever progresses earning £34,000 in prize money.
The Imps booked their place in the second round of the famous competition with a 1-0 win over Bowers & Pitsea on Saturday, while a 2-2 draw at Victoria Park means Pools and Wycombe must replay their tie at Adams Park for the right to head to the LNER Stadium.
Second round draw in full
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/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