Mac OS X - How to reset the DNS cache

Im trying to reset the DNS cache of Mac OS X Lion, but the "dscacheutil -flushcache" command is not working? For MacOSX Lion and Mountain Lion open a terminal and use the below command:

sudo killall -INFO mDNSResponder

Ask a question
CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jean-François Pillou, founder of CCM reaches more than 50 million unique visitors per month and is available in 11 languages.
This document, titled « Mac OS X - How to reset the DNS cache », is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (