360 Secure SkillHub
360 安全技能中心

Dns Lookup

该 Skill 通过 bind-utils 提供的 dig 命令解析主机名:支持查询 A、AAAA 记录、ANY 完整响应以及由 IP 反查主机名,并给出使用 dnf 安装 bind-utils 的说明。输出为命令行返回的文本解析结果。

分类:自动化
xejrax
xejrax
热度 53.50
最近更新 2026-05-11 15:53:20

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add xejrax/dns-lookup
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
dns-lookup
description
Resolve hostnames to IP addresses using `dig` from bind-utils.
metadata
{"openclaw":{"emoji":"🌐","requires":{"bins":["dig"]},"install":[{"id":"dnf","kind":"dnf","package":"bind-utils","bins":["dig"],"label":"Install bind-utils (dnf)"}]}}

DNS Lookup Skill

Resolve hostnames to IP addresses using dig. Provided by the bind-utils package.

Basic Lookup

Resolve A records for a hostname:

dig example.com A +short

IPv6 Lookup

Resolve AAAA records:

dig example.com AAAA +short

Full DNS Record

Get the full DNS response with authority and additional sections:

dig example.com ANY

Reverse Lookup

Find the hostname for an IP address:

dig -x 93.184.216.34 +short

Install

sudo dnf install bind-utils