• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Resolved unknown domain pointing to my server

zoni

Basic Pleskian
Hello,

A domain not own by me or any of my clients is pointing to my server and causing a lot of errors in logs, especially in maillog, with loads of relay access denied errors.

Anyone browsing to this domain will see my server´s default page.

Is there any way to stop traffic from this domain?

Thanks.
 
Hi zoni,

did you consider to use Fail2Ban ( and there as well the "recidive" - jail ) ?
 
You can run these commands in the given order to block all traffic directed to a specific domain name, regardless whether that domain name actually exists on the host or not:

Code:
iptables -I INPUT 1 -p tcp -m multiport --dports 80,443,7080,7081,8443,8447 -m string --algo bm --string "DOMAIN.TLD" -j REJECT --reject-with tcp-reset
iptables -I FORWARD 1 -p tcp -m multiport --dports 80,443,7080,7081,8443,8447 -m string --algo bm --string "DOMAIN.TLD" -j REJECT --reject-with tcp-reset
iptables -I OUTPUT 1 -p tcp -m multiport --dports 80,443,7080,7081,8443,8447 -m string --algo bm --string "DOMAIN.TLD" -j REJECT --reject-with tcp-reset

Instead of "DOMAIN.TLD" enter the domain name that the traffic is directed to.

The example only blocks all traffic to web service related ports. If you are having trouble with mail, add these port numbers to the list, too:
25,110,143,93,995
 
Back
Top