add dns struct