PHPackages                             vmartuniyk/dns - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. vmartuniyk/dns

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

vmartuniyk/dns
==============

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

00PHP

Since Jun 23Pushed 2y ago1 watchersCompare

[ Source](https://github.com/vmartuniyk/dns)[ Packagist](https://packagist.org/packages/vmartuniyk/dns)[ RSS](/packages/vmartuniyk-dns/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Retrieve DNS records
====================

[](#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
------------

[](#installation)

You can install the package via composer:

```
composer require vmartuniyk/dns
```

Usage
-----

[](#usage)

```
use Vmartuniyk\Dns\Dns;

$dns = new Dns();

$data = $dns->getAllDnsRecords('gmail.com'); // returns all available dns records

print_r($data);
```

### Testing

[](#testing)

```
composer test
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

13

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity22

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/efaf4c2a11b564ecd947ea5f7c07c269d09ed0490947ccaa188b07ce0bacda62?d=identicon)[vmartuniyk](/maintainers/vmartuniyk)

---

Top Contributors

[![vmartuniyk](https://avatars.githubusercontent.com/u/13577787?v=4)](https://github.com/vmartuniyk "vmartuniyk (8 commits)")

### Embed Badge

![Health badge](/badges/vmartuniyk-dns/health.svg)

```
[![Health](https://phpackages.com/badges/vmartuniyk-dns/health.svg)](https://phpackages.com/packages/vmartuniyk-dns)
```

###  Alternatives

[bertptrs/phpstreams

A streams library for PHP based on the Java 8 Streams API.

883.2k](/packages/bertptrs-phpstreams)[cheprasov/php-parallel

The class allows you to run multiple operations parallel in different processes and send results to the main process. Useful if you need to run multiple independent operations simultaneously, instead of sequential execution, or if you run several independent queries, for example, queries to different data bases

1712.5k5](/packages/cheprasov-php-parallel)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
