In this paper, we present the updated physics sensitivity of DUNE in the presence of a light sterile neutrino with both far and near detectors. In the previous studies, the sensitivities were obtained using the configuration of DUNE as described in the conceptual design report (CDR). In this article, we consider the configuration of DUNE as given in the technical design report (TDR) and study the capability of this experiment to constrain the sterile mixing parameters as well as its capability to measure the standard oscillation parameters in 3 + 1 scenario. Our results show that in 3 + 1 scenario, the sensitivity of DUNE to measure the mass hierarchy, octant and CP violation deteriorates if we only consider the far detector. However, a combined analysis of far and near detector improves the sensitivity.