Cache poisoning refers to a security vulnerability where invalid entries can be placed into a cache, which are then assumed to be valid when later used. DNS cache poisoning or DNS spoofing happens when attackers corrupt an internet server's Domain Name System table by replacing a valid internet address with that of another, rogue address to divert traffic from a legitimate server to a malicious/dangerous server.