replace dns name with ip