The application of fast radio bursts (FRBs) as probes to investigate astrophysics and cosmology requires the proper modelling of the dispersion measures of Milky Way (DMMW) and host galaxy (DM host ). DMMW can be estimated using the Milky Way electron models, such as NE2001 model and YMW16 model. However, DM host is hard to model due to limited information on the local environment of FRBs. In this paper, using 17 well-localized FRBs, we search for the possible correlations between DM host and the properties of host galaxies, such as the redshift, the stellar mass, the star-formation rate, the age of galaxy, the offset of FRB site from galactic center, and the half-light radius. We find no strong correlation between DM host and any of the host property. Assuming that DM host is a constant for all host galaxies, we constrain the fraction of baryon mass in the intergalactic medium today to be fIGM,0 = 0.78 +0.15 β0.19 . If we model DM host as a log-normal distribution, however, we obtain a larger value, fIGM,0 = 0.83 +0.12 β0.17 . Based on the limited number of FRBs, no strong evidence for the redshift evolution of fIGM is found.