We consider the influence of an w-dependent ionic dielectric constant c(w) on the properties of a superconductor. Assuming that the pairing interaction is proportional to &* we have solved the Eliashberg equations for this case, both for imaginary and real frequencies. The interaction potential depends on a coupling constant I and on a longitudinal phonon frequency Q. The dielectric constant is assumed to be independent of wavevector q, and to depend on frequency through the expression: E ( W ) = (az -W , ?~~~) / ( W * w:,,,,), where wlong, umns are the frequencies of optical phonons of the dielectric. We find that along the imaginary frequency axis (but not for real frequencies) the weighted phonon propagator can be modeled by an appropriate choice of a cutoff frequency and an effective coupling constant. The influence of e (~) on T,, the gap d(w), and the renormalization function Z(o) are studied and it is found that these quantities increase significantly with the dielectric constant.