I have recently added an IP address to my VPS. The problem is that the previous owner has abandoned the domain name with its nameservers set on this IP. Although any access to this domain is denied by my firewall (CSF), my problem is that I get lots of error messages in the log file on my server due to every hit the domain receives by visitors such as search engine crawlers like google and Bing.
The following is a sample line taken from my heavily loaded log in the path /var/log/messages
client 74.125.181.85#34411: query (cache) 'ns1.the_troublesome_domain.com/A/IN' denied
I have not been successful in encouraging the owner to change its nameservers. So I have decided to block all traffic which is headed to this domain in order to stop the log files (I do not know if that is the right decision, though). And I have already tried adding the following rule to Iptables
iptables -I INPUT -s the_troublesome_domain.com -j DROP
only to get the warning
iptables v1.4.7: host/network `the_troublesome_domain.com' not found
Please let me know your ideas on this problem.
Thanks in advance.