public function addQuestion(string $host, int $type, int $class = self::CLASS_IN): void
    {
        $this->questions[] = [
            'host' => $host,
            'type' => $type,
            'class' => $class
        ];
    }