From the course: Managing DNS Essential Training

Unlock the full course today

Join today to access over 22,700 courses taught by industry experts or purchase this course individually.

Reset Linux, Windows, and Mac DNS caches

Reset Linux, Windows, and Mac DNS caches

From the course: Managing DNS Essential Training

Start my 1-month free trial

Reset Linux, Windows, and Mac DNS caches

- [Voiceover] From time to time, DNS on a client system, or even on a server, may start behaving in a way that is not what you would expect and there's really a very simple solution to this regardless of the platform you're running on and so I wanted to just share with you some tips and tricks here on how to flush the DNS cache on various systems. So let's get started with Linux, right, because Linux runs a lot of the internet and DNS is frequently running on Linux installations so if you have nscd running on your Linux box, then you're going to simply, and you're gonna use sudo here of course, cause you wanna run this as root, but you're gonna run the nscd process with a space restart, it's located in etc/init.d, okay, so that's with nscd. Now without nscd, you're going to go to the same place, etc/init.d and then you're gonna run the networking with a space, restart and that will restart the entire networking system which of course should reset your DNS cache appropriately and you…

Contents