Wrexham have been drawn away to National League rivals Tranmere Rovers in the FA Trophy first round.
The Dragons, Trophy winners in 2013, lost on penalties to North Ferriby United in last season's final at Wembley.
Rovers will be making their debut in the competition following relegation from League Two last season.
The tie will take place at Prenton Park on Saturday, 12 December.
Both sides met at the Racecourse in the National League in October with the game ending in a 2-2 draw.
Merthyr Town will be home to Maidenhead United if they overcome East Thurrock in a fourth qualifying round replay.
FA Trophy First Round draw
FC Halifax Town v Tamworth
Grimsby Town v Solihull Moors
Sutton Coldfield Town v Barrow
Marine or Kidsgrove Athletic or Burscough v Guiseley
Macclesfield Town v Gainsborough Trinity or Ashton United
Nantwich Town v Matlock Town
Southport v Worcester City
Curzon Ashton v Nuneaton Town
Altrincham v Leamington
AFC Telford United v Chester
Stourbridge v Kidderminster Harriers
Gateshead v Stocksbridge Park Steels
AFC Fylde v Chorley or Skelmersdale United
Buxton or Bradford Park Avenue v Lincoln City
Tranmere Rovers v Wrexham
Hayes & Yeading United or Eastbourne Borough v Hemel Hempstead Town
Tilbury v Welling United
Truro City v Cirencester Town
Torquay United v Frome Town or Chesham United
Whitehawk v Dover Athletic
Grays Athletic or Corinthian Casuals v Hungerford Town
Boreham Wood v Woking
Concord Rangers v Lowestoft Town
Maidstone United v Bognor Regis Town
Cheltenham Town v Chelmsford City or Gloucester City
Merthyr Town or East Thurrock United v Maidenhead United
Oxford City v Ebbsfleet United
Aldershot Town v Eastleigh
Weston Super Mare v Wealdstone
Havant & Waterlooville v Forest Green Rovers
Bury Town v Dulwich Hamlet
Braintree Town v Bromley
Ties to be played Saturday, 12 December 2015