protected function encodeQuestion(array $question): string
    {
        $encoded = $this->encodeLabel($question['host']);
        $encoded .= \pack('nn', $question['type'], $question['class']);
        
        return $encoded;
    }