Skip to main content
Glama
doh-dns-security-records-mcp

doh-dns-security-records-mcp

README.md
# doh-dns-security-records-mcp

Live DNS-over-HTTPS (DoH) DNS record resolution and security inspection over Model Context Protocol (MCP). AppSec teams, SREs, email deliverability engineers, and domain compliance tools can query Google Public DNS and Cloudflare DoH for DNS records, SPF and DMARC posture, dual-resolver DNSSEC status, MX mail servers, and SaaS TXT verification records with zero API keys and zero sign-up. It connects right away.

## Hosted endpoint

Point any Streamable HTTP MCP client at the free hosted Cloudflare Worker endpoint.

```text
https://doh-dns-security-records-mcp.lipmichal.workers.dev/mcp
```

## Available tools

| Tool | Purpose |
| --- | --- |
| `resolve_dns_record` | Resolve standard DNS record types (`A`, `AAAA`, `CNAME`, `MX`, `TXT`, `NS`, `SOA`, `CAA`, `DS`, `DNSKEY`) over DoH |
| `check_spf_dmarc_email_auth` | Audit SPF (`v=spf1`), DMARC (`_dmarc`), and optional DKIM selector email authentication policies |
| `check_dnssec_status` | Cross-check DNSSEC Authenticated Data (`AD`) flags, `DS` records, and `DNSKEY` counts across Google and Cloudflare |
| `lookup_mx_mail_servers` | List priority-sorted `MX` mail servers and infer hosted email providers such as Google Workspace or Microsoft 365 |
| `lookup_txt_verification_records` | Inspect all `TXT` records for a domain and classify SaaS ownership verification strings |

## Client configuration

Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.

```json
{
  "mcpServers": {
    "doh-dns-security-records": {
      "url": "https://doh-dns-security-records-mcp.lipmichal.workers.dev/mcp"
    }
  }
}
```

## Run locally over stdio

You can also run the server locally on Node 20 or newer over stdio.

```bash
npm install
npm run build
npm start
```

## Compliance and reliability

Every upstream request queries `dns.google/resolve` and `cloudflare-dns.com/dns-query` with `Accept: application/dns-json`, a polite `User-Agent` header (`mcpstamp-doh/1.0 (hello@mcpstamp.com)`), and automatic retry on transient network or 5xx errors. Cloudflare edge caching applies only to HTTP 2xx responses, so upstream faults don't linger in cache. All five tools declare read-only, non-destructive, idempotent, open-world annotations, and the Worker negotiates protocol version `2026-07-28` down to the SDK version cleanly.

## More MCP Servers and Readiness Check

This server belongs to the public MCP directory maintained by MCPStamp and Zovo.

- [Free live-data MCP directory](https://www.mcpstamp.com/free-servers/) with hosted keyless endpoints and client setup guides.
- [Free MCP readiness checker](https://www.mcpstamp.com/check/) to score any MCP server for Claude, ChatGPT, and registry submission.
- [MCP Readiness Audit ($490)](https://www.mcpstamp.com/services/#audit) for teams shipping a production server who want a hands-on security, schema, and store review.
- [Zovo Pro MCP Bundle ($39 one-time)](https://mcp.zovo.one/buy/bundle?src=gh.doh-dns-security-records-mcp) with hosted commercial servers and priority endpoints.

TDQS

A3.7/5.0

Scored across 5 tools

Disambiguation4/5

Each tool has a distinct primary purpose: DNSSEC validation comparison, generic record resolution, email auth auditing, MX provider identification, and TXT verification classification. However, resolve_dns_record can also fetch MX, TXT, DS, and DNSKEY records, creating real overlap with the three specialized lookup/check tools, so agents may occasionally choose the generic resolver when a richer specialized tool would be better.

Naming Consistency5/5

All five tools follow a clean snake_case verb_noun pattern (check_dnssec_status, resolve_dns_record, check_spf_dmarc_email_auth, lookup_mx_mail_servers, lookup_txt_verification_records). The verbs check/lookup/resolve are used purposefully and remain predictable across the set.

Tool Count5/5

Five tools is well-scoped for a focused DNS security/records inspector, with each tool earning its place by covering a distinct audit area. Nothing feels padded or redundant (aside from the intentional raw-vs-analyzed split).

Completeness4/5

The surface covers the core domain well: DNSSEC status, SPF/DMARC/DKIM audit, MX provider detection, TXT verification classification, and generic record resolution for any type. Minor gaps include no dedicated CAA policy analysis, reverse DNS/PTR lookup, or explicit NS delegation/zone-health check, though generic resolution partially covers some of these.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues