Dundalk have been handed a major test in their Champions League second qualifying round after they were drawn against BATE Borisov of Belarus.
Stephen Kenny's men will have it all to do against a side who have made it to the Champions League group stages three times in the last five years.
However, Dundalk can draw on the fact that Bohemians, managed by Kenny at the time, met the Belarus side in the Champions League qualifiers in 2003 and came out on top, winning 3-1 on aggregate.
Excited, Brian? Looking forward to hearing the #UCL anthem? https://t.co/lV7JZvJw7E
— Champions League (@ChampionsLeague) June 22, 2015
The League of Ireland champions missed out on a potential money-spinning tie against Celtic who were drawn against Stjarnan of Iceland.
Cork City will also be heading to Iceland after they were drawn against KR Reykjavík.
Shamrock Rovers will fancy their chances against Luxembourg outfit Progress Niederkorn, while their Dublin rivals St Patrick's Athletic have a tricky tie against Skonto Riga of Latvia.
First Division side UCD, who qualified for the Europa League via the fair play table, will take on another Luxembourg side, F91 Dudelange.
Northern Ireland champions Crusaders were drawn against Estonian side Levadia Talinn in the first qualifying round of the Champions League, while Linfield will face NSÍ Runavík from the Faroe Islands in the Europa League.
Elsewhere in the first qualifying round of the Europa League, Glenavon take on Belarus side Shakhtyor Soligorsk, while Glentoran face MŠK Žilina of Slovakia.
West Ham, another side to qualify from the Fair Play route and now managed by Slaven Bilic, were handed a draw against FC Lusitans of Andorra.
Scottish side St Johnstone will play Alashkert of Armenia, while Aberdeen take on Macedonian outfit Shkendija.