add struct for dns