PHP code example of paravibe / dnslookup
1. Go to this page and download the library: Download paravibe/dnslookup library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
paravibe / dnslookup example snippets
$client = new Client();
$client->setToken($token);
$request = new Request($client);
$request->setQuery(['type' => 'A']);
$response = $request->request($domain);
$data = json_decode($response->getBody(), TRUE);