Both are the same. However, the Punjabi version of dal tadka is often referred to as dal fry. So if after boiling the lentils (aka dal) if we use the onion and tomato to make a gravy, then it is also known as dal fry. However, some variations of dal where we put tadka on top of the daal are not referred to as dal fry.