I've been noticing in my log files that sometimes the Hostname will be exactly the same as the Ip. I guessing that it's because there is no rDNS set. That being said, how can I block this in htaccess?
5/17/2014 01:44 PM | UA: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:29.0) Gecko/20100101
Firefox/29.0 | IP: 50.58.251.66
HOST: 50.58.251.66 | REFERRER: (empty) | TOR: False | GET DATA: [] | POST DATA: []
My htaccess line.
RewriteCond %{REMOTE_HOST} ^%{REMOTE_ADDR} [NC,OR]
I've tested this and it does not seem to work. Seemed logical to me. Any thoughts?