I am trying to block a bot using .htaccess in my WordPress site.
The host name is: ec2-D1-D2-D3-D4.us-east-2.compute.amazonaws.com
ec2-D1-D2-D3-D4.us-east-2.compute.amazonaws.com
Where D1, D2, D