changes to add the hostnames to the locahost domain so that the replica-set does not fail