{"id":1884,"date":"2022-02-22T21:51:13","date_gmt":"2022-02-22T21:51:13","guid":{"rendered":"http:\/\/www.ishygddt.xyz\/~blog\/?p=1884"},"modified":"2022-03-08T18:26:05","modified_gmt":"2022-03-08T18:26:05","slug":"ubuntu-fossa-clear-dns-cache","status":"publish","type":"post","link":"http:\/\/www.ishygddt.xyz\/~blog\/2022\/02\/ubuntu-fossa-clear-dns-cache","title":{"rendered":"Clearing the DNS cache on Ubuntu 20.04"},"content":{"rendered":"<p>Yeah, lots of people out there saying \"leenucks doesn't have a dns cache!!1!\" \u2014 well, recent versions of Ubuntu <em>do<\/em> <abbr title=\"out-of-the-box\">ootb<\/abbr>, and just restarting NetworkManager doesn't clear it for some ungodly reason. If <code class=\"\" data-line=\"\">127.0.0.53<\/code> is returning painfully stale results, flush them with this command:<\/p>\n<pre><code class=\"language-shell\" data-line=\"\">sudo systemctl restart systemd-resolved<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Yeah, lots of people out there saying \"leenucks doesn't have a dns cache!!1!\" \u2014 well, recent versions of Ubuntu <em>do<\/em> ootb, and just restarting NetworkManager doesn't clear it for some ungodly reason\u2026 flush it with <code class=\"language-shell\" data-line=\"\">sudo systemctl restart systemd-resolved<\/code><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[96],"tags":[88,51,86],"class_list":["post-1884","post","type-post","status-publish","format-standard","hentry","category-howto","tag-dns","tag-linux","tag-systemd"],"_links":{"self":[{"href":"http:\/\/www.ishygddt.xyz\/~blog\/wp-json\/wp\/v2\/posts\/1884","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.ishygddt.xyz\/~blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.ishygddt.xyz\/~blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.ishygddt.xyz\/~blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.ishygddt.xyz\/~blog\/wp-json\/wp\/v2\/comments?post=1884"}],"version-history":[{"count":5,"href":"http:\/\/www.ishygddt.xyz\/~blog\/wp-json\/wp\/v2\/posts\/1884\/revisions"}],"predecessor-version":[{"id":1894,"href":"http:\/\/www.ishygddt.xyz\/~blog\/wp-json\/wp\/v2\/posts\/1884\/revisions\/1894"}],"wp:attachment":[{"href":"http:\/\/www.ishygddt.xyz\/~blog\/wp-json\/wp\/v2\/media?parent=1884"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.ishygddt.xyz\/~blog\/wp-json\/wp\/v2\/categories?post=1884"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.ishygddt.xyz\/~blog\/wp-json\/wp\/v2\/tags?post=1884"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}