New class of the dielectric metamaterials is proposed. We consider both periodic and quasi-periodic structures consisting of the arrays of the almost adjoining dielectric nanorods and the arrays of the dielectric bars at the metal substrate. We obtain a multiple internal resonances, exited by the incident wave, at optical and microwave frequencies. The interaction of such resonances results in giant electric and magnetic field fluctuations