# Dns Records

> Look up DNS records for any domain, including A, AAAA, MX, NS, TXT, CNAME, and SOA records, with support for multiple domains and JSON output.

- Skill: `luokai0/dns-records` (Agent Skill, multi-file: 6 files)
- Install (CLI): `npx skillmds add luokai0/dns-records`
- Raw SKILL.md: https://api.skillmd.com/api/skills/luokai0/dns-records/raw
- Safety review: CAUTION (external: skill-scanner PASS, skillspector CAUTION)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Tags: Dig, Dns, Domain, Json, Network
- Author: luokai0 (https://skillmd.com/u/luokai0)
- Updated: 2026-08-22
- Page: https://skillmd.com/skills/luokai0/dns-records

---


# dnscheck 🔍

DNS record lookup with multi-type support and JSON output.

## Commands

```bash
# Full DNS check (all common record types)
python3 scripts/dnscheck.py github.com openclaw.ai

# Specific record types only
python3 scripts/dnscheck.py -t A MX example.com

# JSON output for scripting
python3 scripts/dnscheck.py --json example.com
```

## Record Types
- **A** — IPv4 addresses
- **AAAA** — IPv6 addresses
- **MX** — Mail servers
- **NS** — Nameservers
- **TXT** — SPF, DKIM, verification records
- **CNAME** — Canonical name aliases
- **SOA** — Start of authority

## Features
- Queries all record types by default
- Uses `dig` when available, falls back to Python sockets for A/AAAA
- JSON output mode for automation
- Multiple domains in one command

