Catalyzes hydrolysis of the D-alanyl-D-alanine dipeptide. D-alanyl-D-alanine + H2O = 2 D-alanine Binds 1 zinc ion per subunit. By vancomycin, mediated by VanS/VanR. Belongs to the peptidase M15D family.