Is the comma in the right place below?

Did you know, Dad, that the the colonists broke all the treaties signed by Philip and his father?

Do the commas go there because to set off a nonessential appositive?

The commas are correct. However, they set off the person addressed, not an appositive.