Rework DNS configuration.