News for hackers. Stuff that matters.
Re:OS X DNS cache reset script by dgant on Tuesday June 14, 2016 @11:26AM (#11902584)
What's the context of this?
Re:OS X DNS cache reset script by ajmurmann on Tuesday June 14, 2016 @11:31AM (#11902639)
The content is that it's tricky to truly flush the DNS cache on OS X and the command to do it gets changed a lot with new releases. It's very annoying because it makes working with DNS very painful.
Re:OS X DNS cache reset script by heavymark on Tuesday June 14, 2016 @11:38AM (#11902700)
Any time I need to flush dns cache, I simply google "flush dns cache mac" and top result shows you the simply command to run: https://support.apple.com/en-us/HT202516

Having a simple command such as "reset dnscache" or something of course would be nice, but since it can already be done in a matter of seconds with a quick google I can't imagine it's that much of concern for apple of many developers compared to other issues.

Re:OS X DNS cache reset script by post_break on Tuesday June 14, 2016 @11:56AM (#11902850)
What if ping was different on every build of linux. Shit gets old.
Re:OS X DNS cache reset script by honkhonkpants on Tuesday June 14, 2016 @11:57AM (#11902866)
I guess that's really handy if your dns cache doesn't include a poisoned record for Google. Otherwise it's useless.
Re:OS X DNS cache reset script by bluedino on Tuesday June 14, 2016 @11:29AM (#11902619)
The process seems to change every version of OS X for some reason. So basically this script runs the appropriate command for whichever version you are using.
Re:OS X DNS cache reset script by 27182818284 on Tuesday June 14, 2016 @11:31AM (#11902637)
I've personally found myself Googling it at least once for each version.

It gets more annoying if you want to explain it to a non-technical OS X user. Maybe this little repo will help them converge on a command alias for the future