Modeling the dispersion measure—redshift relation for fast radio bursts | Synapse