You get a bonus - 1 coin for daily activity. Now you have 1 coin

How to reset (clear) the DNS cache on FreeBSD

Practice



Do you suspect a DNS zone got cached, and you urgently need to reach it using a new, changed IP?

First of all, out of the box FreeBSD doesn't cache DNS zones. That's just how it is.

Second, if you do know that the NSCD daemon is running - here's the command to reset the DNS cache:

$ sudo nscd -i hosts

And the following command will reset all NSCD caches:

$ sudo nscd -i all

Comments

To leave a comment

If you have any suggestion, idea, thanks or comment, feel free to write. We really value feedback and are glad to hear your opinion.
To reply

Lectures and tutorial on "Computer networks"

Terms: Computer networks