I would say that two hours is tight.
If the flight departs on time and arrives on time, if the queues at immigration are small if the queues are small at security into the domestic terminal are small, you might be ok.
However, depending on who you are flying internally with, there are lots of alternate flights you can take if you miss your connection.