Again, Fernco is a big company that makes thousands of things, among them, the thing some people have come to call a Fernco and meaning a thick rubber sleeve with two hose clamps on it. Sort of like everyone calling a tissue a Kleenex, when that company makes lots of paper products like napkins, pads, and who knows what. SOrt of like calling all cars a Ford.
Those are legal most places but ONLY outside of the foundation, underground where you have properly supported the two sections of pipe so that they don't sag and create a stepped connection. Inside of a building, you must use a banded coupling - the metal band around the whole thing ensures both ends of the pipe are kept in-line. A similar fitting is used to connect hubless cast iron pipe...the things are robust when installed properly.