OSX: Flush DNS
Since OSX Lion, the dscacheutil -flushcache command doesn’t seem to do anything anymore, and logging out or restarting just isn’t worth my time.
Try this instead: sudo killall -HUP mDNSResponder
Works for me in Lion and Mountain Lion developer preview.
About.me
Tim Valenta
Amateur at everything, coder, UI designer, musician, and writer. I break things apart and re-program them from scratch to learn exactly which problems people have solved in the past. I write for NaNoWriMo, and I'm nearing the self publication of a short story called Highway.
Python is my passion. Alastair Reynolds writes great science fiction, but has a really ugly website. My Mac is my Linux without all the driver failures. I hate working directly for salesmen. Huge scented candles are surprisingly nice when you work from home all day. I play AP Mid lane for my League of Legends team, but love a good run at Top.
Topics
- Design (2)
- Games (3)
- Hacks (22)
- Hard Drives (2)
- Hobbies (41)
- Writing (28)
- Huh? (2)
- Linux (7)
- Ubuntu (3)
- Mac (23)
- Music (1)
- Operating Systems (10)
- Opt-Out Diaries (1)
- Photo Editing (1)
- Programming (30)
- Java (7)
- Javascript (2)
- Objective-C (1)
- Python (15)
- Textmate (5)
- RAM (1)
- Rants (11)
- Troubleshooting (14)
- Uncategorized (3)
- windows (8)
- Work (1)
- 4500S bash Chrome dell development dimension Django Firefox flash function Google hard drive Highway 2 Hyper-V icon IDE IE Internet Explorer iTunes java JavaScript Linux mac Macports method Microsoft mountain lion Music MySQL MySQLdb nanowrimo Opera OS X panda3d patch php pip productivity Programming Python python 2.5 theme vista windows Windows 7










