Patent ID: 8087082

Claim:
A data processing apparatus, comprising: at least one processor; a traffic monitor comprising logic which, when executed by the at least one processor, causes the at least one processor to perform: creating, using forward Domain Name System (DNS) lookups, a mapping of domain names to Internet Protocol (IP) addresses; wherein the mapping identifies only those domain names that are associated with malware; determining whether a particular domain in the mapping requires handling data traffic to or from the particular domain by performing a particular action; based on the mapping, determining one or more IP addresses that are associated with the particular domain; generating policy for a firewall that instructs the firewall to perform the particular action upon receiving a request that specifies one or more IP addresses that are associated with the particular domain; upon receiving a particular request comprising a particular IP address, using the policy and the mapping to determine whether the particular IP address is one of the one or more IP addresses associated with the particular domain to indicate that the particular action should be performed.