Command map

resolve dns a

Look up IPv4 addresses (A records) for a hostname.

Ze command

Registry path
resolve dns a
Usage
resolve dns a <hostname>
Mode
Read-only
Wire method
ze-resolve:dns-a
Backends
any backend
Task support
optional: the MCP call is synchronous, which is the default
Subcommands
none: this command takes no subcommand
Pipes, always
json, ndjson, table, text, yaml, raw, no-more, save
Pipes, when the answer has rows
match, count, first, last, display, fill
Pipes, while streaming
log
Pipes, local process only
save

Description

The answer is the list of IPv4 addresses. A valid cache entry
answers without a query, and a fresh answer is cached for the TTL the server gave.

Arguments

NameTypeRequiredValuesSummaryDescription
hostnamestringyesany value of this typeHostname to look up.A DNS name of 1 to 253 characters, which the router's own resolver queries. The first word after the command is the name, and a call with no name is refused with a usage line.

Mapping intents

DNS lookup and cache inspection

Category: Diagnostics

Juniper Junos MX

No equivalent is listed for this vendor yet.

Cisco IOS XR

No equivalent is listed for this vendor yet.

Nokia SR OS

No equivalent is listed for this vendor yet.