I would like to know which domains are in tmpingestedzonefile and which are not in tmpingestedzonefile.
I am trying to understand, did you mean you would like to know
which domains are IN tmpzonefile but NOT in tmpingestedzonefile
?
If this is the case, the comparison logic would be
temp1 = ['twotwotwo.nl','two.nl', 'three.nl', 'four.nl', 'five.nl']
temp2 = ['twotwo.nl', 'three.nl','four.nl']
list(set(temp1)-( set(temp2)))
with the following results
['two.nl', 'twotwotwo.nl', 'five.nl']
... View more