360 Secure SkillHub
360 安全技能中心

Dns Lookup

核心功能:借助bind-utils的dig工具,支持正向解析域名的A/IPv6(AAAA)记录、反向查询IP对应主机名,以及获取包含权威段的完整DNS响应。典型场景:查询域名IP、验证IP归属、排查DNS问题。输入为指定bash命令,输出简洁结果或完整记录,需先通过dnf安装bind-utils。

xejrax
xejrax
热度 96.75
最近更新 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