{
  "id": "2020/722",
  "url": "https://opencryptology.org/2020/722",
  "original_url": "https://eprint.iacr.org/2020/722",
  "title": "NXNSAttack: Recursive DNS Inefficiencies and Vulnerabilities",
  "authors": [
    "Yehuda Afek",
    "Anat Bremler-Barr",
    "Lior Shafir"
  ],
  "affiliations": null,
  "abstract": "This paper exposes a new vulnerability and introducesa corresponding attack, the NoneXistent Name ServerAttack (NXNSAttack), that disrupts and may paralyzethe DNS system making it difficult or impossible for In-ternet users to access websites, web e-mail, online videochats, or any other online resource. The NXNSAttackgenerates a storm of packets between DNS resolvers andDNS authoritative name servers. The storm is producedby the response of resolvers to unrestricted referral re-sponse messages of authoritative name servers.  Theattack is significantly more destructive than NXDomainattacks (e.g., the Mirai attack): i) It reaches an am-plification factor of more than 1620x on the numberof packets exchanged by the recursive resolver. ii) Inaddition to the negative cache, the attack also satu-rates the ‘NS’ resolver caches. To mitigate the attackimpact, we propose an enhancement to the recursiveresolver algorithm, MaxFetch(k), that prevents unnec-essary proactive fetches. We implemented MaxFetch(1)mitigation enhancement on a BIND resolver and testedit on real-world DNS query datasets. Our results showthat MaxFetch(1) degrades neither the recursive resolverthroughput nor its latency. Following the discovery of theattack, a responsible disclosure procedure was carriedout, and several DNS vendors and public providers haveissued a CVE and patched their systems.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“NXNSAttack: Recursive DNS Inefficiencies and Vulnerabilities” by Yehuda Afek, Anat Bremler-Barr, Lior Shafir, Cryptology ePrint Archive, Paper 2020/722, https://eprint.iacr.org/2020/722. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2020-06-16T06:59:31Z",
    "updated": "2020-06-23T05:48:31Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2020/722.pdf",
    "sha256": "f43cd9e1bb2fba8bfe2895773106ab997fd4dc19a9ffcd62ec50a90f37d6fe21",
    "size": 1914633,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:14Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2020/722/versions/20240114T061314Z.pdf",
      "captured_at": "2024-01-14T06:13:14Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2020/722.pdf",
      "size": 1914633,
      "sha256": "f43cd9e1bb2fba8bfe2895773106ab997fd4dc19a9ffcd62ec50a90f37d6fe21",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260103165038id_/https://eprint.iacr.org/2020/722.pdf",
      "captured_at": "2026-01-03T16:50:38Z",
      "size": 1912444
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2020/722.pdf",
      "captured_at": "2024-01-14T06:13:14Z",
      "size": 1914633
    }
  ],
  "bibtex": "@misc{cryptoeprint:2020/722,\n      author = {Yehuda Afek and Anat Bremler-Barr and Lior Shafir},\n      title = {NXNSAttack: Recursive DNS Inefficiencies and Vulnerabilities},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2020/722},\n      year = {2020},\n      url = {https://eprint.iacr.org/2020/722}\n}"
}
