Dorne didn't bend the knee during the Targaryan invasion. Aegon and his sisters failed to conquer Dorne and even one of the sister and a dragon were killed trying to conquer it. It took a while longer when another war broke out, they were conquered then rebelled immediately, but were unsuccessful and I think it was through some treaty of peace that bound Dorne to the Iron Throne. But they still styled themselves Princes.