All Projects → spatie → Dns

spatie / Dns

Licence: mit
Retrieve DNS records

Labels

Projects that are alternatives of or similar to Dns

mapdns
A simple, static DNS server.
Stars: ✭ 78 (-75.08%)
Mutual labels:  dns
Cloudflare Sync
A nice to have, MIT-licensed tool for using Cloudflare as a dynamic DNS provider.
Stars: ✭ 269 (-14.06%)
Mutual labels:  dns
Nps
一款轻量级、高性能、功能强大的内网穿透代理服务器。支持tcp、udp、socks5、http等几乎所有流量转发,可用来访问内网网站、本地支付接口调试、ssh访问、远程桌面,内网dns解析、内网socks5代理等等……,并带有功能强大的web管理端。a lightweight, high-performance, powerful intranet penetration proxy server, with a powerful web management terminal.
Stars: ✭ 19,537 (+6141.85%)
Mutual labels:  dns
dns-resolver-infra
Privacy DNS infrastructure
Stars: ✭ 39 (-87.54%)
Mutual labels:  dns
Dog
A command-line DNS client.
Stars: ✭ 3,623 (+1057.51%)
Mutual labels:  dns
Crypt Le
Crypt::LE - Let's Encrypt / Buypass / ACME client and library in Perl for obtaining free SSL certificates (inc. generating RSA/ECC keys and CSRs). HTTP/DNS verification is supported out of the box, easily extended with plugins, easily dockerized.
Stars: ✭ 277 (-11.5%)
Mutual labels:  dns
dnsfilexfer
File transfer via DNS
Stars: ✭ 51 (-83.71%)
Mutual labels:  dns
Sonarsearch
A MongoDB importer and API for Project Sonars DNS datasets
Stars: ✭ 297 (-5.11%)
Mutual labels:  dns
Dnstwist
Domain name permutation engine for detecting homograph phishing attacks, typo squatting, and brand impersonation
Stars: ✭ 3,124 (+898.08%)
Mutual labels:  dns
Zonemaster
The Zonemaster Project
Stars: ✭ 282 (-9.9%)
Mutual labels:  dns
QuickScan
Port scanning and domain utility.
Stars: ✭ 26 (-91.69%)
Mutual labels:  dns
Roguesploit
Powerfull Wi-Fi trap!
Stars: ✭ 262 (-16.29%)
Mutual labels:  dns
Kldns
快乐二级域名分发系统
Stars: ✭ 277 (-11.5%)
Mutual labels:  dns
resolve
Command line iterative DNS resolution testing program
Stars: ✭ 17 (-94.57%)
Mutual labels:  dns
Toriptables2
Tor Iptables script is an anonymizer that sets up iptables and tor to route all services and traffic including DNS through the Tor network.
Stars: ✭ 287 (-8.31%)
Mutual labels:  dns
whisperer
Simple Go program that makes HTTP request constantly in order to generate random HTTP/DNS traffic noise
Stars: ✭ 31 (-90.1%)
Mutual labels:  dns
My Pihole Blocklists
Create custom pi-hole blocklists
Stars: ✭ 269 (-14.06%)
Mutual labels:  dns
Dt
DNS tool - display information about your domain
Stars: ✭ 313 (+0%)
Mutual labels:  dns
Vinyldns
DNS Governance for streamlining DNS operations and enabling safe and secure DNS self-service
Stars: ✭ 293 (-6.39%)
Mutual labels:  dns
Dnsrecords.io
A webapp to fetch dns records
Stars: ✭ 278 (-11.18%)
Mutual labels:  dns

Retrieve DNS records

Latest Version on Packagist Tests StyleCI Total Downloads

This package contains a class that can fetch DNS records.

use Spatie\Dns\Dns;

$dns = Dns::of('spatie.be');

$dns->getRecords(); // returns all available dns records

$dns->getRecords('A'); // returns only A records

Support us

We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products.

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall.

Installation

If you do not have dig installed you will need it.

You can install the package via composer:

composer require spatie/dns

Usage

The class can get these record types: A, AAAA, CNAME, NS, SOA, MX, SRV, TXT, DNSKEY, CAA, NAPTR.

use Spatie\Dns\Dns;

$dns = Dns::of('spatie.be');

$dns->getRecords(); // returns all records

$dns->getRecords('A'); // returns only A records
$dns->getRecords('MX'); // returns only MX records

$dns->getRecords('A', 'MX'); // returns both A and MX records
$dns->getRecords(['A', 'MX']); // returns both A and MX records

You can get records from a specific nameserver.

use Spatie\Dns\Dns;

$dns = Dns::of('spatie.be', 'ns1.openminds.be'); // use ns1.openminds.be 

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Postcardware

You're free to use this package, but if it makes it to your production environment we highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using.

Our address is: Spatie, Kruikstraat 22, 2018 Antwerp, Belgium.

We publish all received postcards on our company website.

Credits

License

The MIT License (MIT). Please see License File for more information.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].