Zinedine Zidane has thanked Real Madrid president Florentino Perez for the opportunity to replace Rafa Benitez as coach.