The Vishnu Smriti condemns bestial acts:
Causing (bodily) pain to a Brāhmaṇa; smelling at things which ought not to be smelt (such as excrements), or at spirituous liquor; dishonest dealing; sexual connection with cattle, and (sexual connection) with a man (or non-vaginal intercourse with a woman): such are the crimes resulting in loss of caste. He who has knowingly committed one of the acts effecting loss of caste shall perform the Sântapana penance; he who has done so unawares shall perform the Prâgâpatya penance. (Vishnu Smriti, Chapter 38, Verses 1-6)
The Narada Smriti too explicitly forbids bestial acts:
When a man has sexual connection with (small) cattle, he shall pay one hundred (Panas) as a fine; (for sexual connection) with a cow, he shall pay the middling fine; and the same (for sexual connection) with a low-caste woman. (Narada Smriti 12.76)