clear ip dns vrf

Clears the DNS cache for the configured VRF.
Syntax
clear ip dns [ vrf vrf-name] {domain-list domain-name | server-address ip-address [ip-address... ]}
Modes

Privileged EXEC mode

Examples

The following example clears the DNS cache for the configured VRF named vrf1.

device# clear ip dns vrf vrf1 www.yahoo.com
History
Release version Command history
10.0.10d This command was introduced.