360 Secure SkillHub
360 安全技能中心

Dns Lookup

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

xejrax
xejrax
热度 96.77
最近更新 2026-05-11 15:53:20
分类:自动化依赖:代码执行应用场景:自动化脚本

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add 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