Clearing VRFs

The DNS cache for each configured VRF can be cleared, if required.

To clear the DNS cache for the configured VRF named vrf1, enter the clear ip dns vrf command.

device# clear ip dns vrf vrf1 www.yahoo.com
device# show ip dns vrf vrf1 cache
Cache Count: 4 timer: 237 timeout 300 start: 2934 curt: 3198
FQDN                                Upd   LkUp S Count IP Resolved
-----------------------------------------------------------------
www.google.com                        1      0 0     1 142.250.205.228
maps                                  1      0 0     1 142.250.193.174
Unused index: 2 In Use: 3