# IT:Apple:iMac:Networking # * [[../|(UP)]] {{indexmenu>.#2|nsort tsort}} ## Process ## Common commands that may come in handy: # edit the hosts file sudo nano etc/hosts # clear/reset the cache dnscacheutil -flushcache # check nslookup dada.didi.doodoo.com ## Resources ## * [http://decoding.wordpress.com/2009/04/06/how-to-edit-the-hosts-file-in-mac-os-x-leopard/](http://decoding.wordpress.com/2009/04/06/how-to-edit-the-hosts-file-in-mac-os-x-leopard/) * [http://www.leftcolumn.net/2011/11/29/etchosts-file-on-mac-osx/](http://www.leftcolumn.net/2011/11/29/etchosts-file-on-mac-osx/)