# spatie/dns

> PHP class for retrieving and inspecting DNS records.

Navigation: [Networking](category/networking.txt) · [Index](../llms.txt)

## Facts

- GitHub: https://github.com/spatie/dns
- HTML: https://awesomeopensource.dev/project/spatie-dns
- Website: https://spatie.be/open-source
- License: MIT
- Language: PHP
- stars: 614
- Topics: dns, hacktoberfest, php
- Activity score: 4.5/5 (Thriving)
- Last commit (any branch): 2026-11-05
- Last release: 2.10.0 2026-10-29

## Description

A PHP package that queries DNS records for a domain and returns typed objects with accessors for each field. It can fetch all available records or a single type such as A, AAAA, CNAME, MX, SRV, TXT, DS or DNSKEY, using the system dig command. Installation is done with Composer and requires PHP 8.4 or newer.

## Maintenance activity

- Recency: 94% (weight 40%) — last commit: 8 days ago
- Commit volume: 66% (weight 25%)
- Releases: 93% (weight 25%) — last release: 15 days ago
- Bug fixes: 100% (weight 10%)
- Commits: 6 / 90d, 24 / 365d

## Similar projects

- [pi-hole/pi-hole](pi-hole-pi-hole.md): A black hole for Internet advertisements. · Activity score 5.0/5 (Thriving)
- [exelban/stats](exelban-stats.md): macOS system monitor with CPU, GPU, memory, disk and network stats in the menu bar · Activity score 5.0/5 (Thriving)
- [schollz/croc](schollz-croc.md): Easily and securely send things from one computer to another :crocodile: :package · Activity score 5.0/5 (Thriving)
- [NginxProxyManager/nginx-proxy-manager](nginxproxymanager-nginx-proxy-manager.md): Docker container for managing Nginx proxy hosts with a simple, powerful interface · Activity score 5.0/5 (Thriving)
- [fosrl/pangolin](fosrl-pangolin.md): Tunneled Mesh Reverse Proxy Server with Identity and Access Control and Dashboard UI · Activity score 5.0/5 (Thriving)
- [fatedier/frp](fatedier-frp.md): Fast reverse proxy that exposes NAT-bound services over TCP, UDP, HTTP and HTTPS · Activity score 4.9/5 (Thriving)
