Command map

clear dns cache record

Evict DNS cache entries for one record name, or one name and type when a type is provided.

Ze command

Registry path
clear dns cache record
Usage
clear dns cache record <name> [type <A|AAAA|MX|NS|TXT|CNAME|PTR>]
Mode
Daemon
Wire method
ze-clear:dns-cache-record
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

Add type <record-type> after the name to evict one type, and
give no other tail. An unknown type is reported inside the answer rather than as an error.

Arguments

NameTypeRequiredValuesSummaryDescription
namestringyesany value of this typeRecord name to evict.The cache key, compared as an exact string. Alone, it evicts every type cached under the name and the answer counts the entries removed.
typeenumnoA AAAA MX NS TXT CNAME PTROptional DNS record type to evict for the named record.Written after the type keyword, it evicts that one type and leaves the other types of the name in place. The answer reports found true or false.

Mapping status

No vendor equivalent has been curated yet for this Ze command.

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.

VyOS

No equivalent is listed for this vendor yet.