Back
The Powys club will take on TNS after the northern section draw paired the sides together, giving Llanfair the opportunity to test themselves against one of Welsh football's biggest names.
It is the standout fixture from a Powys perspective, while Guilsfield could also progress to the second round.
The draw lists Pwllheli against the winners of Flint Town United and Guilsfield, meaning Guilsfield must first come through that tie to book their place.
Elsewhere in the northern section, Wrexham Foresters were paired with Wrexham.
The southern section produced a number of notable ties, including Aberystwyth Town against Cascade and Swansea City against Cardiff City.
Cardiff Met will take on Cwmbran Celtic, while Briton Ferry Llansawel face Barry Town United.
The remaining southern tie sees Llantwit Fardre drawn against either Goytre or Carmarthen Town.
For Powys, however, attention will be firmly on Llanfair United as they prepare for a major cup occasion against TNS.