protected function createRequest(string $host, int $type): Request
    {
        $request = new Request();
        $request->addQuestion($host, $type);
        $request->setRecursionDesired(true);
        
        return $request;
    }
protected function createRequest(string $host, int $type): Request
    {
        $request = new Request();
        $request->addQuestion($host, $type);
        $request->setRecursionDesired(true);
        
        return $request;
    }
protected function createRequest ( string $ host , int $ type ) : Request { $ request = new Request ( ) ; $ request -> addQuestion ( $ host , $ type ) ; $ request -> setRecursionDesired ( true ) ; return $ request ; }
Create a request for the given host and record type.
Create a request for the given host and record type .