The probability of matching the exact two pip values of 2 dice in the exact same order = 1/6 x 1/6 = 1/36
The probability of matching the same scores but not necessarily in the same order = 2/36 = 1/18 ie 63 could be achieved by either 63 or 36
However it gets more complicated if you can get any permutation of numbers to achieve the same score. Say you scored 7, This has many permutations to achieve it
If you scored 7 with say 61, then it could be matched with
61,52,43,34,25,61 There are 6 permutations out of 36 that will match it
ie there is a 1/6 chance of duplicating the score of 7
There are 5 permutations that match 6 and 8
51,42,33,24,15 and 62,53,44,35,26
Therefore the probability of matching a score of 8 = 5/36
Similarly matching scores of 5 and 9 are each 4/36
scores of 4 and 10 are each 3/36
scores of 3 and 11 are each 2/36
scores of 2 and 12 = 1/36
Therefore if whether different pip values are allowed and count as duplicating the scores the overall probability will be affected.
Once you have the 6 probabilities of each individual throw you then multiply them together
However when the lottery say it is random they are not talking about the dice scores, They have preset a number of permutations that will give the desired probability of winning as displayed on their literature. Some of the actual dice permutations will not be used by the lottery, They say the overall 6 roll permutions are randomly selected from the ones they use. Therefore unless we know how many permutations they use, we cannot determine the probability of getting 2 duplicate permutations in a row.