D-meson propagation in hot dense matter