making dns an array for proper deployment