PHPackages                             alexstrilby/dns-checker - 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. alexstrilby/dns-checker

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

alexstrilby/dns-checker
=======================

DNS checker

00PHP

Since Jun 18Pushed 2y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

DNS Checker
===========

[](#dns-checker)

Package usage
-------------

[](#package-usage)

- Use `DnsRecords` facade to check DNS records `DnsRecords::getDnsRecords('google.com')`
- Or you can make a new instance of `DnsRecords` class and use `getDnsRecords`method `$dnsRecords = new DnsRecords(new \Alexs\DNSChecker\Resolver\DnsResolver()); $dnsRecords->getDnsRecords('google.com')`
- Also, you can provide your custom resolver which implements `\Alexs\DNSChecker\Resolver\IDnsResolver` interface
- Service will return an array of dns records `[{"type":"A","name":"google.com","ttl":0,"data":"216.58.209.14"},{"type":"NS","name":"google.com","ttl":0,"data":"ns1.google.com"},{"type":"NS","name":"google.com","ttl":0,"data":"ns4.google.com"},...]`

Package requirements
--------------------

[](#package-requirements)

- php 8.1 or higher

Package installation
--------------------

[](#package-installation)

- Install package with composer: `composer require alexs/dns-checker`
- Use Laravel package autoload or Add `Alexs\DnsChecker\DnsCheckerServiceProvider::class` to `providers` array in `config/app.php`

Running tests
-------------

[](#running-tests)

- Run `composer install` to install all dependencies
- Run `composer test` to run tests

###  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/20a8740e21b566672395a44eb037383011dbb3f37f306567bca7e7e9f39a4c18?d=identicon)[AlexStrilBy](/maintainers/AlexStrilBy)

---

Top Contributors

[![AlexStrilBy](https://avatars.githubusercontent.com/u/69400622?v=4)](https://github.com/AlexStrilBy "AlexStrilBy (5 commits)")

### Embed Badge

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

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

###  Alternatives

[leocarmo/graceful-shutdown-php

Graceful Shutdown for PHP

18108.2k](/packages/leocarmo-graceful-shutdown-php)[bogdaan/open-location-code

Open location code for php

1076.5k](/packages/bogdaan-open-location-code)

PHPackages © 2026

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