Command map

resolve dns ptr

Reverse-lookup an IP address to its hostname (PTR).

Ze command

Registry path
resolve dns ptr
Usage
resolve dns ptr <ip-address>
Mode
Read-only
Wire method
ze-resolve:dns-ptr
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 address is turned into its in-addr.arpa or ip6.arpa name before
the query. The cache holds the answer under that name, so show dns cache record takes it in
that form.

Arguments

NameTypeRequiredValues
ip-addressstringyesany value of this type

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.