read dns name from env