The present invention discloses a method for producing a fermented dairy product, preferably cheese, comprising inoculating milk with lactic acid bacteria capable of producing a Class IIa type bacteriocin; and lactic acid bacteria capable of producing a Class I type bacteriocin.