fix read error for dns section