返回 Skill 列表
extension
分类: 数据与分析无需 API Key

Dns Lookup

使用 bind-utils 的 dig 命令将主机名解析为 IP 地址。

person作者: xejraxhubclawhub

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