The computer uses DNS to associate it with the IP address which is connected to your computer to the destination on the internet. DNS servers are connected in a distributed hierarchy that are splitted in zones, ej: .com, .org, .net, etc. the DNS was created to be public and open, this brings posibles cyber attacks. DNS SPOOFING, this happens when a hacker changes the ip for a wrong one. you are using a fake website as if it was real.