Retrieve DNS records
This package contains a class that can fetch DNS records.
use Vmartuniyk\Dns\Dns;
$dns = new Dns();
$dns->getAllDnsRecords('gmail.com');
Installation
You can install the package via composer:
composer require vmartuniyk/dns
Usage
use Vmartuniyk\Dns\Dns;
$dns = new Dns();
$data = $dns->getAllDnsRecords('gmail.com'); // returns all available dns records
print_r($data);
Testing
composer test
License
The MIT License (MIT). Please see License File for more information.