Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Mar 23, 2010 3:06 pm 
Offline
Senior Newbie

Joined: Thu Dec 17, 2009 2:26 pm
Posts: 10
I have an apache rewrite rule to display a 404 page. It works quite well when someone attempts to access a sub-domain which does not exist or if they enter my ip in the browser address bar.

The rewrite log typically shows the domain they were attempting to access, some session info and the actual rewrite rule playing out.

Now and again I will see a domain name in the log which is in no way associated with my ip. How is it possible that DNS is sending them my way?


Top
   
 Post subject:
PostPosted: Tue Mar 23, 2010 5:50 pm 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
Either somebody is deliberately sending those requests your way, or the nameservers responsible for those domains are misconfigured. Why don't you check out those domains yourself?

http://www.kloth.net/services/nslookup.php


Top
   
 Post subject:
PostPosted: Mon Mar 29, 2010 3:49 am 
Offline
Senior Member

Joined: Sat May 03, 2008 4:01 pm
Posts: 569
Website: http://www.mattnordhoff.com/
DNS may not be involved at all. The domain Apache uses is from the HTTP 'Host' header. A client can connect to an IP and send a Host header saying whatever the hell it wants.

A lot of bots scan for open proxies by making an HTTP request for a website. As long as you aren't running an open proxy, it's best to just ignore them. You could email their abuse@ addresses if you wanted to, I suppose, but...

_________________
Matt Nordhoff (aka Peng on IRC)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group