Forum Moderators: phranque

Message Too Old, No Replies

no-revers-dns.set

         

cyberdyne

8:42 am on Nov 19, 2010 (gmt 0)

10+ Year Member



"no-revers-dns.set"

Has anyone else come across this?

I've found this in my cPanel AWStats, cPanel Latest Visitors and even in my Raw Access Logs.

How is this possible and is there any way of obtaining the users IP?

Thanks

jdMorgan

3:29 am on Nov 30, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I assume that you are seeing this string in place of the usually-logged IP address. This means that you have invoked hostname lookups in one or more of your server config directives (e.g. .htaccess directives). So the server has "switched modes" and is now logging remote hostnames instead of remote IP addresses.

You can either get rid of the directive(s) that enables reverse-DNS lookups, or you may be able to use custom logging to log the remote-IP address instead of the remote host.

This is the usual (unexpected) result of using a "Deny from <hostname>" directive or a RewriteCond that checks %{REMOTE_HOST}. If you recently added directives of that nature, then you may have to back out those additions if you can't set up custom logging on this server (which requires server config privileges not available on most types of shared hosting).

Jim

cyberdyne

7:46 am on Nov 30, 2010 (gmt 0)

10+ Year Member



Jim, thank you for your reply.
Yes, you are correct, I am seeing this string where the usually-logged IP addresse should be, but there was only one instance of it, amongst the numerous other normally-logged IP addresses. This is why I foud it very unusual and wondered why just one IP address should be logged in this way.
I had made no changes to my .htaccess prior to this appearing and my host claims they have made no changes to the server setup either.
I wondered if there was a way a visitor could change his set up in order to ensure the above string is left in a log rther than his actual IP.
Thanks again for your reply.