Fixed assertion throw on DNS on Visual Studio.