How to flush dns in ubuntu? by Anjani Phuyal | Aug 5, 2014 | Linux, ubuntu | 0 comments Install nscd using the following command if not yet sudo apt-get install nscd Flush DNS Cache in Ubuntu by restarting the nscd sudo /etc/init.d/nscd restart Submit a Comment Cancel replyYour email address will not be published. Required fields are marked *Comment * Name * Email * Website Save my name, email, and website in this browser for the next time I comment. Δ