fixed bugs on DNS