The answer is nslookup and dig
nslookup is a tool in Windows for accessing Domain Name System records such as name, IP address, MAC address. By using this tool you can see all the websites that your client computer has browsed then you can put a stop on the malicious website access.
dig (Domain Information Groper) is a command used to verify and fix DNS problems that you have encountered and found out in nslookup.