dnsrobot 0.1.0

Official D client for DNS Robot (dnsrobot.net) — DNS lookups, WHOIS, SSL checks, SPF/DKIM/DMARC validation, and more.


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

dnsrobot

Official D client for DNS Robot — DNS lookups, WHOIS, SSL checks, SPF/DKIM/DMARC validation, and 50+ network tools.

Install

Add to your dub.json:

"dependencies": {
    "dnsrobot": "~>0.1.0"
}

Or with dub CLI:

dub add dnsrobot

Usage

import dnsrobot.client;

void main()
{
    auto client = new DnsRobotClient();

    // DNS lookup
    auto dns = client.dnsLookup("example.com");

    // WHOIS lookup
    auto whois = client.whoisLookup("example.com");

    // SSL certificate check
    auto ssl = client.sslCheck("example.com");

    // SPF validation
    auto spf = client.spfCheck("example.com");

    // DKIM check
    auto dkim = client.dkimCheck("example.com", "default");

    // DMARC check
    auto dmarc = client.dmarcCheck("example.com");

    // MX record lookup
    auto mx = client.mxLookup("example.com");

    // NS record lookup
    auto ns = client.nsLookup("example.com");

    // IP geolocation
    auto ip = client.ipLookup("8.8.8.8");

    // HTTP response headers
    auto headers = client.httpHeaders("example.com");

    // Port check
    auto port = client.portCheck("example.com", 443);
}

Available Methods

MethodDescriptionOnline Tool
dnsLookupDNS record lookup (A, AAAA, MX, etc.)DNS Lookup
whoisLookupWHOIS domain registration infoWHOIS Lookup
sslCheckSSL/TLS certificate detailsSSL Checker
spfCheckSPF record validationSPF Checker
dkimCheckDKIM record verificationDKIM Checker
dmarcCheckDMARC policy checkDMARC Checker
mxLookupMail server recordsMX Lookup
nsLookupNameserver recordsNS Lookup
ipLookupIP geolocation infoIP Lookup
httpHeadersHTTP response headersHTTP Headers
portCheckPort availability checkPort Checker

Requirements

  • D compiler (DMD, LDC, or GDC)
  • libcurl (included with most D compiler installations)

License

MIT — see LICENSE

Authors:
  • DNS Robot
Dependencies:
none
Versions:
0.1.0 2026-Mar-13
~main 2026-Mar-13
Show all 2 versions
Download Stats:
  • 0 downloads today

  • 2 downloads this week

  • 2 downloads this month

  • 2 downloads total

Score:
0.0
Short URL:
dnsrobot.dub.pm