On random matrices, zeta functions, and dynamical systems