How to Remove Clear Cache Entry (DNS)

Unanswered Question
Aug 24th, 2006

Hi,

1. I configured DNS on a cisco router using the cli ip name-server x.x.x.x

2. Tried to ping one of the devices using its hostname.

3. I removed dns server on router and now there is no 'ip name-server x.x.x.x' on the device

4. Ping the same device, host1 again

and the ping is working.

It seems there is an entry for it in the Cache and only after I reload the device it is cleared.

Can I know if there is some cli that I can use to remove the entry from cache without reloading the device?

Thanks,

Radhika

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Average Rating: 5 (1 ratings)
Brandon Buffin Sat, 08/26/2006 - 09:16

Use the enable mode command "clear host" such as:

router#clear host hostname (to delete a specific host)

or

router#clear host * (to delete all hosts)

Hope this helps. If so, please rate the post.

Brandon

dradhika Thu, 09/07/2006 - 22:14

Hi Brandon,

Thanks for the information.

I tried 'clear host all *' and it removed all the entries from hosttable.

Thanks,

Radhika

Actions

Login or Register to take actions

This Discussion

Posted August 24, 2006 at 11:01 PM
Stats:
Replies:2 Avg. Rating:5
Views:1974 Votes:0
Shares:0
Tags: No tags.

Discussions Leaderboard