Premiership winners Crusaders will face Levadia Tallinn in the first qualifying round of the Champions League.
The Tallinn club have won nine Estonian titles since being founded in 1998.
If Crusaders win the qualifier, they will then face Albanians club KS Skenderbeu in the next round.
In the Europa League, Linfield will play Faroe Islands team NSI Runavik with Glentoran meeting Slovakian club MSK Zilina and Glenavon up against Belarus outfit Shakhtyor Soligorsk.
It is the fourth successive year that Linfield have been drawn against a Faroe Islands team in Europe.
Glentoran and Glenavon will both have home advantage for their first-leg games on 2 July but Linfield will have to travel to the Faroes for their opener.
The Europa League second legs will take place on 9 July.
Crusaders will host Levadia Tallinn at Seaview in their first leg on 30 June with the second leg taking place in Estonia on 7 July.
The Champions League second qualifying round games will take place on 14/15 July or 21/22 July.
League of Ireland champions Dundalk have been handed a tough second round Championship League qualifier against Belarus club BATE Borisov.
The Belarus club have reached the Champions League group stage on three occasions over the last five years.
In the Europa League, Cork City have been drawn against KR Reykjavik with fair play qualifiers UCD taking on Luxembourg side F91 Dudelange and St Patrick's Athletic playing Latvian outfit Skonto FC.