DNS cache poisoning
DNS cache poisoning – also known as DNS spoofing – is a type of cyber attack in which an attacker corrupts a DNS resolver's cache by injecting false DNS records, causing the resolver to return incorrect responses that are controlled by the attacker - usually for redirecting users or machines to malicious resources like phishing pages or attacker-controlled proxies.
CAPEC entry: https://capec.mitre.org/data/definitions/142.html
Some examples of how this can be achieved by the attacker are through on-path modification of network traffic, sending false updates to improperly secured caching DNS servers, or exploiting vulnerabilities in implementations or protocols.