{"id":952,"date":"2013-07-18T10:47:08","date_gmt":"2013-07-18T10:47:08","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=952"},"modified":"2013-07-18T10:47:08","modified_gmt":"2013-07-18T10:47:08","slug":"flush-dns-cache-ubuntu-13-04-12-10","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2013\/07\/flush-dns-cache-ubuntu-13-04-12-10\/","title":{"rendered":"How to Flush DNS Cache on Ubuntu 13.04, 12.10"},"content":{"rendered":"<p>This simple tutorial will show you how to flush or clear your system\u2019s DNS records on Ubuntu 13.04 Raring and 12.10 Quantal.<\/p>\n<p><strong>Objectives:<\/strong><\/p>\n<ul>\n<li>Flush DNS records on Ubuntu 13.04 or Ubuntu 12.10<\/li>\n<li>Enjoy!<\/li>\n<\/ul>\n<p>To get started, press <b>Ctrl+Alt+T<\/b> to open a terminal window.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/07\/terminal.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/07\/terminal.jpg\" alt=\"Open Terminal to run commands\" width=\"309\" height=\"205\" class=\"aligncenter size-full wp-image-698\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/07\/terminal.jpg 309w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/07\/terminal-300x199.jpg 300w\" sizes=\"auto, (max-width: 309px) 100vw, 309px\" \/><\/a><\/p>\n<p>Then run command to flush dns:<\/p>\n<pre>sudo \/etc\/init.d\/dns-clean restart<\/pre>\n<p>You can also use this command:<\/p>\n<pre>sudo \/etc\/init.d\/networking force-reload<\/pre>\n<p>In addition, to flush nscd dns cache:<\/p>\n<pre>sudo \/etc\/init.d\/nscd restart<\/pre>\n<p>To flush dnsmasq dns cache:<\/p>\n<pre>sudo \/etc\/init.d\/dnsmasq restart<\/pre>","protected":false},"excerpt":{"rendered":"<p>This simple tutorial will show you how to flush or clear your system\u2019s DNS records on Ubuntu 13.04 Raring and 12.10 Quantal. Objectives: Flush DNS records on Ubuntu 13.04 or Ubuntu 12.10 Enjoy! To get started, press Ctrl+Alt+T to open a terminal window. Then run command to flush dns: sudo \/etc\/init.d\/dns-clean restart You can also [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[199,197,198,333,153],"class_list":["post-952","post","type-post","status-publish","format-standard","hentry","category-command-skills","tag-cache","tag-clear","tag-dns","tag-flushdns","tag-ubuntu"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/952","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=952"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/952\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=952"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=952"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=952"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}