Find the height ceiling for it, you'll be able to easily shoot it from there as it does not swim any higher.

More Dunkleosteus Taming & KO Tips