{"id":42098,"date":"2026-11-10T10:08:46","date_gmt":"2026-11-10T10:08:46","guid":{"rendered":"https:\/\/fastestvpn.com\/resources\/?p=42098"},"modified":"2026-11-10T10:09:15","modified_gmt":"2026-11-10T10:09:15","slug":"what-is-dns-cache","status":"publish","type":"post","link":"https:\/\/fastestvpn.com\/resources\/what-is-dns-cache\/","title":{"rendered":"What Is DNS Cache &#038; DNS Cache Poisoning and How to Flush It","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><span style=\"font-weight: 400;\">What is DNS cache? Have you heard of DNS cache poisoning? How do you flush DNS cache? This guide highlights answers to all your queries and ways to successfully execute them.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Your browser resolves a domain name in milliseconds, and you never notice. That speed depends on a small, temporary storage layer called the DNS cache.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">However, that same layer becomes a target for one of the internet&#8217;s older attack techniques, and that is called DNS cache poisoning. This guide explains both concepts in plain technical terms, then shows you exactly how to flush the cache on any system.<\/span><\/p>\n<p><span style=\"font-weight: 400;\"> <div class=\"fastest-hd-btn\">\n <a class=\"hd-conter-btn\" href=\"https:\/\/fastestvpn.com\/lifetime-special-deals?a_aid=634829be4d0b2\" title=\"Get FastestVPN\">Get FastestVPN <i class=\"fa fa-hand-o-right\" aria-hidden=\"true\"><\/i><\/a>\n <\/div>\n<\/span><\/p>\n<h2>What Is a DNS Cache?<\/h2>\n<p><span style=\"font-weight: 400;\">A DNS cache is a temporary database that stores domain-to-IP mappings. It\u2019s so your system does not query authoritative servers every time you visit a website.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">When a resolver receives a query, it checks the cache first. If a valid record exists, the resolver returns it immediately. If not, it performs the full lookup and stores the answer for future use.<\/span><\/p>\n<h3>How Does Caching Happen?<\/h3>\n<p><span style=\"font-weight: 400;\">It happens at two distinct layers.\u00a0<\/span><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-42100 size-full\" src=\"https:\/\/fastestvpn.com\/resources\/wp-content\/uploads\/sites\/2\/2026\/11\/How-caching-happens.-Two-layers.webp\" alt=\"what is dns cache. How caching happens\" width=\"1408\" height=\"768\" srcset=\"https:\/\/fastestvpn.com\/resources\/wp-content\/uploads\/sites\/2\/2026\/11\/How-caching-happens.-Two-layers.webp 1408w, https:\/\/fastestvpn.com\/resources\/wp-content\/uploads\/sites\/2\/2026\/11\/How-caching-happens.-Two-layers-300x164.webp 300w, https:\/\/fastestvpn.com\/resources\/wp-content\/uploads\/sites\/2\/2026\/11\/How-caching-happens.-Two-layers-1024x559.webp 1024w, https:\/\/fastestvpn.com\/resources\/wp-content\/uploads\/sites\/2\/2026\/11\/How-caching-happens.-Two-layers-768x419.webp 768w\" sizes=\"(max-width: 1408px) 100vw, 1408px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">The client-side resolver cache sits on your operating system. Windows maintains it through the DNS Client service, and you can inspect it with <\/span><b>ipconfig \/displaydns<\/b><span style=\"font-weight: 400;\">. This cache holds records your device recently queried.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The recursive resolver cache sits on the DNS server your device points to, your ISP&#8217;s resolver, a public service like 1.1.1.1, or an internal corporate server.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This cache serves every client that queries that resolver, which makes it larger and far more consequential for security.<\/span><\/p>\n<h3>How TTL Controls Cache Lifetime<\/h3>\n<p><span style=\"font-weight: 400;\">Every DNS record carries a Time to Live (TTL) value in seconds.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The TTL tells the resolver how long it may keep the record before discarding it and performing a fresh lookup. A TTL of 300 means the record stays cached for five minutes, and a TTL of 86400 means it stays for a full day.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Time to Live (TTL) creates a direct trade-off. Short TTLs propagate changes faster but generate more queries to authoritative servers. Long TTLs reduce load but slow down updates.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">When you flush your DNS cache manually, you force the resolver to discard everything and start fresh.<\/span><\/p>\n<h2>What Is DNS Cache Poisoning?<\/h2>\n<p><span style=\"font-weight: 400;\">DNS cache poisoning, also called DNS spoofing, is an attack in which someone corrupts a resolver&#8217;s cache by injecting false DNS records.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0The resolver then returns the attacker&#8217;s IP address instead of the legitimate one. It redirects users to malicious infrastructure such as phishing pages or attacker-controlled proxies.<\/span><\/p>\n<h3>How Does a DNS Cache Poisoning Attack Work?<\/h3>\n<p><span style=\"font-weight: 400;\">DNS queries typically travel over UDP, which has no handshake. Instead, the resolver validates a response by matching three values:\u00a0<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">The source IP address.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">The destination port.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">A 16-bit transaction ID (TXID).\u00a0<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">If all three match, the resolver accepts the response as legitimate.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">An attacker exploiting this weakness must guess the TXID and the source port before the real authoritative server responds.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Older resolvers used predictable TXIDs and fixed source ports, making them easy to guess. Modern resolvers randomize both, so an attacker has far more entropy to overcome.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">A more efficient variant is the birthday attack. Instead of guessing a single TXID, the attacker forces the resolver to open many simultaneous queries for the same domain.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">After this, it then floods it with spoofed responses. With enough queries and responses, the probability of a collision rises dramatically, and a forged response gets accepted.<\/span><\/p>\n<h3>Why Cache Poisoning Still Matters<\/h3>\n<p><span style=\"font-weight: 400;\">If an attacker poisons one resolver, every user behind it is affected. In 2015, attackers poisoned resolvers at Brazilian ISPs to send Boleto payment users to fake sites that stole their credentials.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The attackers couldn&#8217;t reach those resolvers from outside the ISP&#8217;s network. So, they broke into machines inside the network and used those to send the poisoning queries.<\/span><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-42101 size-full\" src=\"https:\/\/fastestvpn.com\/resources\/wp-content\/uploads\/sites\/2\/2026\/11\/DNS-cache-poisoning-attack-via-racing-response.webp\" alt=\"DNS cache poisoning attack via racing response\" width=\"1408\" height=\"768\" srcset=\"https:\/\/fastestvpn.com\/resources\/wp-content\/uploads\/sites\/2\/2026\/11\/DNS-cache-poisoning-attack-via-racing-response.webp 1408w, https:\/\/fastestvpn.com\/resources\/wp-content\/uploads\/sites\/2\/2026\/11\/DNS-cache-poisoning-attack-via-racing-response-300x164.webp 300w, https:\/\/fastestvpn.com\/resources\/wp-content\/uploads\/sites\/2\/2026\/11\/DNS-cache-poisoning-attack-via-racing-response-1024x559.webp 1024w, https:\/\/fastestvpn.com\/resources\/wp-content\/uploads\/sites\/2\/2026\/11\/DNS-cache-poisoning-attack-via-racing-response-768x419.webp 768w\" sizes=\"(max-width: 1408px) 100vw, 1408px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">However, the defenses are simple but not always used. They only let trusted clients make recursive queries, randomize TXID and source port values. They also deployed DNSSEC to cryptographically verify responses.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0Without DNSSEC, a resolver can&#8217;t tell a forged record from a real one if the attacker wins the race.<\/span><\/p>\n<h2>How to Flush DNS Cache<\/h2>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-42102 size-full\" src=\"https:\/\/fastestvpn.com\/resources\/wp-content\/uploads\/sites\/2\/2026\/11\/DNS-cache-flush-on-different-devices.webp\" alt=\"DNS cache flush on different devices\" width=\"1408\" height=\"768\" srcset=\"https:\/\/fastestvpn.com\/resources\/wp-content\/uploads\/sites\/2\/2026\/11\/DNS-cache-flush-on-different-devices.webp 1408w, https:\/\/fastestvpn.com\/resources\/wp-content\/uploads\/sites\/2\/2026\/11\/DNS-cache-flush-on-different-devices-300x164.webp 300w, https:\/\/fastestvpn.com\/resources\/wp-content\/uploads\/sites\/2\/2026\/11\/DNS-cache-flush-on-different-devices-1024x559.webp 1024w, https:\/\/fastestvpn.com\/resources\/wp-content\/uploads\/sites\/2\/2026\/11\/DNS-cache-flush-on-different-devices-768x419.webp 768w\" sizes=\"(max-width: 1408px) 100vw, 1408px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">Flushing the cache clears stale or corrupted records and forces the resolver to fetch fresh answers.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">CISA recommends flushing as a countermeasure against poisoned DNS lookups, though it notes that flushing destroys forensic artifacts. So, capture the cache first if you are investigating an incident.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Here\u2019s how to flush DNS cache:\u00a0<\/span><\/p>\n<h3>Flush DNS Cache on Windows<\/h3>\n<p><span style=\"font-weight: 400;\">Here\u2019s how to flush cache <\/span><a href=\"https:\/\/support.fastestvpn.com\/tutorials\/windows\/set-dns-to-automatic\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">DNS on Windows<\/span><\/a><span style=\"font-weight: 400;\">:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Open Command Prompt and run:<\/span><\/li>\n<\/ul>\n<p><b>text<\/b><\/p>\n<p><b>ipconfig \/flushdns<\/b><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">You should see: &#8220;Successfully flushed the DNS Resolver Cache.&#8221;\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">For a Windows DNS server, use PowerShell:<\/span><\/li>\n<\/ul>\n<p><b>text<\/b><\/p>\n<p><b>Clear-DnsServerCache<\/b><\/p>\n<h3>Flush DNS on macOS<\/h3>\n<p><span style=\"font-weight: 400;\">The command depends on your macOS version:\u00a0<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">For macOS 10.10.4 and later, run:<\/span><\/li>\n<\/ul>\n<p><b>text<\/b><\/p>\n<p><b>sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder<\/b><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Enter your password when prompted.<\/span><\/li>\n<\/ul>\n<h3>Linux<\/h3>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Most modern distributions use systemd-resolved:<\/span><\/li>\n<\/ul>\n<p><b>text<\/b><\/p>\n<p><b>sudo resolvectl flush-caches<\/b><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">If your system uses nscd instead, restart the service:<\/span><\/li>\n<\/ul>\n<p><b>text<\/b><\/p>\n<p><b>sudo systemctl restart nscd<\/b><\/p>\n<h3>For dnsmasq<\/h3>\n<p><b>text<\/b><\/p>\n<p><b>sudo systemctl restart dnsmasq<\/b><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Confirm the cache cleared with<\/span><b> sudo systemd-resolve &#8211;statistics<\/b><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Check that &#8220;Current Cache Size&#8221; reads 0.<\/span><\/li>\n<\/ul>\n<h2>Frequently Asked Questions<\/h2>\n<p><span style=\"font-weight: 400;\">\n<div class=\"blog_faq\">\n <div class=\"faq\">\n\t\t \n\t\t\t<h3 class=\"faq_title\">Does flushing the DNS cache fix cache poisoning? <i class=\"fa fa-angle-down\"><\/i><\/h3> \n\t\t\t\t\n\t\t\t\t <div class=\"faq_description\">\n <p>When you flush DNS cache, it removes poisoned records from the local cache, but it does not prevent re-poisoning. If the resolver itself is vulnerable, the attacker can inject false records again. Flushing is a mitigation, not a fix. The durable fix is resolver hardening: restrict recursion, randomize TXID and port values, and enable DNSSEC.<\/p>\n <\/div>\n <\/div>\n \n <div class=\"faq\">\n\t\t \t\t\t\t\n <h3 class=\"faq_title\">What is the difference between DNS cache and browser cache? <i class=\"fa fa-angle-down\"><\/i><\/h3> \n <div class=\"faq_description\">\n <p>The browser cache stores web content, like HTML, images, and scripts, to speed up page loads. The DNS cache stores domain-to-IP mappings for faster connection setup. Flushing the DNS cache doesn\u2019t clear browser content, and clearing browser cache doesn\u2019t flush DNS records.<\/p>\n <\/div>\n <\/div>\n \n <div class=\"faq\">\n\t\t \t\t\t\t\n <h3 class=\"faq_title\">Why does my DNS cache keep getting corrupted? <i class=\"fa fa-angle-down\"><\/i><\/h3> \n <div class=\"faq_description\">\n <p>Repeated corruption usually points to a vulnerable resolver, not your device. Check whether your router or ISP resolver restricts recursive queries to trusted clients. An open recursive resolver is a primary enabler of cache poisoning attacks. If you control the resolver, disable open recursion and enable DNSSEC validation.<\/p>\n <\/div>\n <\/div>\n \n <div class=\"faq\">\n <h3 class=\"faq_title\">Can DNS cache poisoning be detected? <i class=\"fa fa-angle-down\"><\/i><\/h3> \n <div class=\"faq_description\">\n <p>DNSSEC (Domain Name System Security Extensions) validation failures in resolver logs are the strongest signal, though misconfigured domains can produce false positives. You can also compare a cached response against the authoritative server's answer. However, you need DNSSEC enabled on the authoritative query to trust the comparison.<\/p>\n <\/div>\n <\/div>\n \n \n \n \n \n \n \n \n <\/div>\n\n<\/span><\/p>\n<h2>To Conclude<\/h2>\n<p><span style=\"font-weight: 400;\">Coming towards the end of this guide on &#8220;What is DNS&#8221; you know everything about it and also how to flush DNS cache. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">The DNS cache exists to make resolution fast, and it works. DNS cache poisoning exploits the trust the resolver places in cached records: if an attacker can inject a false mapping, every user behind that resolver connects to the wrong destination.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Flushing the cache clears the damage on your device, but it does not close the vulnerability. Restrict recursion, randomize query identifiers, and deploy DNSSEC. Those three steps remove the conditions poisoning requires.<\/span><\/p>\n<p><span style=\"font-weight: 400;\"> <div class=\"fastest-hd-cta\">\n <h3>Take Control of Your Privacy Today! \n <span>Unblock websites, access streaming platforms, and bypass ISP monitoring.<\/span>\n <\/h3>\n <a class=\"hd-conter-btn\" href=\"https:\/\/fastestvpn.com\/lifetime-special-deals?a_aid=634829be4d0b2\" title=\"Get FastestVPN\">Get FastestVPN <i class=\"fa fa-hand-o-right\" aria-hidden=\"true\"><\/i><\/a>\n <\/div>\n <\/span><\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>What is DNS cache? Have you heard of DNS cache poisoning? How do you flush DNS cache? This guide highlights answers to all your queries and ways to successfully execute them.\u00a0 Your browser resolves a domain name in milliseconds, and you never notice. That speed depends on a small, temporary storage layer called the DNS [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[50],"tags":[],"acf":[],"yoast_head":"\n<title>What Is DNS Cache &amp; DNS Cache Poisoning and How to Flush It<\/title>\n<meta name=\"description\" content=\"What is DNS cache and DNS cache poisoning? Learn how the attack works and how to flush DNS cache on Windows, macOS, and Linux.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/fastestvpn.com\/resources\/what-is-dns-cache\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What Is DNS Cache &amp; DNS Cache Poisoning and How to Flush It\" \/>\n<meta property=\"og:description\" content=\"What is DNS cache and DNS cache poisoning? Learn how the attack works and how to flush DNS cache on Windows, macOS, and Linux.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fastestvpn.com\/resources\/what-is-dns-cache\/\" \/>\n<meta property=\"og:site_name\" content=\"Fastest Resources Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-10T10:08:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-10T10:09:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/fastestvpn.com\/resources\/wp-content\/uploads\/sites\/2\/2026\/11\/How-caching-happens.-Two-layers.webp\" \/>\n<meta name=\"author\" content=\"Nancy William\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Nancy William\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/fastestvpn.com\/resources\/what-is-dns-cache\/\",\"url\":\"https:\/\/fastestvpn.com\/resources\/what-is-dns-cache\/\",\"name\":\"What Is DNS Cache & DNS Cache Poisoning and How to Flush It\",\"isPartOf\":{\"@id\":\"https:\/\/fastestvpn.com\/resources\/#website\"},\"datePublished\":\"2026-11-10T10:08:46+00:00\",\"dateModified\":\"2026-11-10T10:09:15+00:00\",\"author\":{\"@id\":\"https:\/\/fastestvpn.com\/resources\/#\/schema\/person\/550f2a648215a98944aae3ccfe8ad869\"},\"description\":\"What is DNS cache and DNS cache poisoning? Learn how the attack works and how to flush DNS cache on Windows, macOS, and Linux.\",\"breadcrumb\":{\"@id\":\"https:\/\/fastestvpn.com\/resources\/what-is-dns-cache\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/fastestvpn.com\/resources\/what-is-dns-cache\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/fastestvpn.com\/resources\/what-is-dns-cache\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/fastestvpn.com\/resources\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What Is DNS Cache &#038; DNS Cache Poisoning and How to Flush It\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/fastestvpn.com\/resources\/#website\",\"url\":\"https:\/\/fastestvpn.com\/resources\/\",\"name\":\"Fastest Resources Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/fastestvpn.com\/resources\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/fastestvpn.com\/resources\/#\/schema\/person\/550f2a648215a98944aae3ccfe8ad869\",\"name\":\"Nancy William\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/fastestvpn.com\/resources\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d377f6d136787f1c0221e428ed5fb9fa?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d377f6d136787f1c0221e428ed5fb9fa?s=96&d=mm&r=g\",\"caption\":\"Nancy William\"}}]}<\/script>\n","yoast_head_json":{"title":"What Is DNS Cache & DNS Cache Poisoning and How to Flush It","description":"What is DNS cache and DNS cache poisoning? Learn how the attack works and how to flush DNS cache on Windows, macOS, and Linux.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/fastestvpn.com\/resources\/what-is-dns-cache\/","og_locale":"en_US","og_type":"article","og_title":"What Is DNS Cache & DNS Cache Poisoning and How to Flush It","og_description":"What is DNS cache and DNS cache poisoning? Learn how the attack works and how to flush DNS cache on Windows, macOS, and Linux.","og_url":"https:\/\/fastestvpn.com\/resources\/what-is-dns-cache\/","og_site_name":"Fastest Resources Blog","article_published_time":"2026-11-10T10:08:46+00:00","article_modified_time":"2026-11-10T10:09:15+00:00","og_image":[{"url":"https:\/\/fastestvpn.com\/resources\/wp-content\/uploads\/sites\/2\/2026\/11\/How-caching-happens.-Two-layers.webp"}],"author":"Nancy William","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Nancy William","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/fastestvpn.com\/resources\/what-is-dns-cache\/","url":"https:\/\/fastestvpn.com\/resources\/what-is-dns-cache\/","name":"What Is DNS Cache & DNS Cache Poisoning and How to Flush It","isPartOf":{"@id":"https:\/\/fastestvpn.com\/resources\/#website"},"datePublished":"2026-11-10T10:08:46+00:00","dateModified":"2026-11-10T10:09:15+00:00","author":{"@id":"https:\/\/fastestvpn.com\/resources\/#\/schema\/person\/550f2a648215a98944aae3ccfe8ad869"},"description":"What is DNS cache and DNS cache poisoning? Learn how the attack works and how to flush DNS cache on Windows, macOS, and Linux.","breadcrumb":{"@id":"https:\/\/fastestvpn.com\/resources\/what-is-dns-cache\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fastestvpn.com\/resources\/what-is-dns-cache\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/fastestvpn.com\/resources\/what-is-dns-cache\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/fastestvpn.com\/resources\/"},{"@type":"ListItem","position":2,"name":"What Is DNS Cache &#038; DNS Cache Poisoning and How to Flush It"}]},{"@type":"WebSite","@id":"https:\/\/fastestvpn.com\/resources\/#website","url":"https:\/\/fastestvpn.com\/resources\/","name":"Fastest Resources Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/fastestvpn.com\/resources\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/fastestvpn.com\/resources\/#\/schema\/person\/550f2a648215a98944aae3ccfe8ad869","name":"Nancy William","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/fastestvpn.com\/resources\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d377f6d136787f1c0221e428ed5fb9fa?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d377f6d136787f1c0221e428ed5fb9fa?s=96&d=mm&r=g","caption":"Nancy William"}}]}},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/fastestvpn.com\/resources\/wp-json\/wp\/v2\/posts\/42098"}],"collection":[{"href":"https:\/\/fastestvpn.com\/resources\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fastestvpn.com\/resources\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fastestvpn.com\/resources\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/fastestvpn.com\/resources\/wp-json\/wp\/v2\/comments?post=42098"}],"version-history":[{"count":4,"href":"https:\/\/fastestvpn.com\/resources\/wp-json\/wp\/v2\/posts\/42098\/revisions"}],"predecessor-version":[{"id":42105,"href":"https:\/\/fastestvpn.com\/resources\/wp-json\/wp\/v2\/posts\/42098\/revisions\/42105"}],"wp:attachment":[{"href":"https:\/\/fastestvpn.com\/resources\/wp-json\/wp\/v2\/media?parent=42098"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fastestvpn.com\/resources\/wp-json\/wp\/v2\/categories?post=42098"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fastestvpn.com\/resources\/wp-json\/wp\/v2\/tags?post=42098"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}