fixed a bug on DNS