---
title: ToolRouter — Tool Detail
description: Detailed documentation for a ToolRouter tool including skills, parameters, and examples.
url: https://toolrouter.com/tools/dns-domain
---
# DNS & Domain

DNS records, WHOIS registration, SSL/TLS certificates, and domain availability in one tool. Parallel DNS lookups for all record types, SSL expiry and trust checks, and batch availability checking. Essential for DevOps, security, and domain acquisition.

- **Version:** 0.02
- **Categories:** infrastructure, security

## Skills (4)

### DNS Lookup (`lookup_dns`)

Resolve DNS records for a domain. Returns A, AAAA, MX, TXT, CNAME, NS, CAA, and SOA records in parallel. Supports querying specific record types or all at once. Reports errors separately from empty results.

**Parameters:**

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `domain` | string | Yes | Domain name to resolve (e.g. "example.com") |
| `record_type` | string | No | DNS record type to query. Use "ALL" to fetch all record types in parallel. (A, AAAA, MX, TXT, CNAME, NS, CAA, SOA, ALL) [default: "ALL"] |

**Returns:** DNS records grouped by type with TTL and priority information where applicable

**Examples:**

*Look up all DNS records for google.com:*

```json
{
  "domain": "google.com"
}
```

*Look up MX records for a domain:*

```json
{
  "domain": "github.com",
  "record_type": "MX"
}
```

### WHOIS Lookup (`whois_lookup`)

Perform a WHOIS lookup for a domain. Returns registrar, creation date, expiry date, nameservers, and registration status. Connects directly to WHOIS servers.

**Parameters:**

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `domain` | string | Yes | Domain name to look up (e.g. "example.com") |

**Returns:** Parsed WHOIS data including registrar, dates, nameservers, status, and raw response

**Examples:**

*WHOIS lookup for google.com:*

```json
{
  "domain": "google.com"
}
```

### Check SSL Certificate (`check_ssl`)

Inspect the SSL/TLS certificate for a domain. Returns issuer, subject, validity dates, protocol version, and days until expiry. Connects via TLS to port 443.

**Parameters:**

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `domain` | string | Yes | Domain name to check SSL for (e.g. "example.com") |
| `port` | number | No | Port to connect to (default 443) [default: 443] |

**Returns:** SSL certificate details including trust status, hostname match, issuer, expiry, cipher suite, and fingerprint

**Examples:**

*Check SSL certificate for github.com:*

```json
{
  "domain": "github.com"
}
```

*Check an expired certificate:*

```json
{
  "domain": "expired.badssl.com"
}
```

### Check Domain Availability (`check_availability`)

Check if a domain name is registered or available for purchase. Uses DNS resolution and WHOIS to determine registration status. Supports batch checking of multiple domains.

**Parameters:**

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `domains` | array | Yes | List of domain names to check (e.g. ["example.com", "example.io"]) |

**Returns:** Availability status for each domain (available/registered)

**Examples:**

*Check availability of several domains:*

```json
{
  "domains": [
    "coolstartup.com",
    "coolstartup.io",
    "coolstartup.dev"
  ]
}
```

## Quick Start

```bash
# Via CLI
TOOLROUTER_API_KEY=tr_live_xxx npx -y toolrouter-mcp call dns-domain lookup_dns --domain google.com

# Via REST API
curl -H "Authorization: Bearer tr_live_xxx" \
     -d '{"tool":"dns-domain","skill":"lookup_dns","input":{"domain":"google.com"}}' \
     https://api.toolrouter.com/v1/tools/call
```

## Frequently Asked Questions

### What DNS records can it check?

It can inspect common DNS record types in parallel, which makes it useful for quickly reviewing how a domain is configured.

### Does it also check SSL certificates?

Yes. SSL and TLS expiry and trust checks are part of the same tool, alongside DNS and WHOIS lookups.

### Can it tell me if a domain is available?

Yes. Domain availability checks are included, including batch checks when you want to compare options quickly.

### Who is this most useful for?

It is especially useful for DevOps, security work, and domain buying or validation.

---

## Get Started with ToolRouter

**Already connected?** Call any tool with `use_tool({ tool, skill, input })`. Browse tools with `discover` or visit https://toolrouter.com/llms-full.txt

**New to ToolRouter?** Connect with one command (no API key needed — auto-provisions on first use):

```bash
# MCP (Claude Code, Codex CLI)
claude mcp add toolrouter -- npx -y toolrouter-mcp

# MCP (Cursor, Windsurf, Cline, VS Code, Gemini CLI, Claude Desktop)
{"mcpServers":{"toolrouter":{"command":"npx","args":["-y","toolrouter-mcp"]}}}

# Claude Chat / Claude Cowork / Claude Mobile — add as a connector:
# Settings → Connectors → Add custom connector → URL: https://api.toolrouter.com/mcp

# ChatGPT — add as an app:
# Settings → Apps → Advanced settings → enable Developer mode → Create app → MCP Server URL: https://api.toolrouter.com/mcp

# CLI (works instantly, no restart needed)
npx -y toolrouter-mcp tools                    # browse all tools
npx -y toolrouter-mcp search "seo"             # search by keyword
npx -y toolrouter-mcp call seo analyze_page --url https://example.com
```

Free tools work immediately. For paid tools, visit https://toolrouter.com/claim to add credits.

All platforms: https://toolrouter.com/connect | Full catalog: https://toolrouter.com/llms-full.txt | Docs: https://toolrouter.com/docs