changed dns data structure