This library should allow us to get all DNS records for the specified domain name.

dev-master 2023-06-23 14:45 UTC

This package is not auto-updated.

Last update: 2024-05-25 18:19:34 UTC


README

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.