All invalid requests end up at searchguide.level3.com....
Basically if I make a request to some non-existent host, I get a response from searchguide.level3.com which makes it impossible to tell which http requests actually went through and which one’s didn’t. The other interesting part is that this only happens about 30% of the time. This is what I’m talking about:
That URL obviously does not exist. This is the response I get 2 out of 3 times:
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/test3.php on line 8 Warning: file_get_contents(http://www.aaaabinsafdg.com/): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/test3.php on line 8 bool(false)
Makes sense as such host does not exist on the Internet. Now this is what I get other times:
string(295) "<html><head><meta http-equiv="refresh" content="0;url=http://searchguide.level3.com/search/?q=http://www.aaaabinsafdg.com/&t=0"/></head><body><script>window.location="http://searchguide.level3.com/search/?q="+escape(window.location)+"&r="+escape(document.referrer)+"&t=0";</script> </body></html>"
Why would I want this and how do I turn it off?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×