Last modified: 2014-01-30 15:06:06 UTC
mobile users can be redirected to a non-existant www.m.project.org domain Unsure if this is a new issue since switch from squid to varnish. Also, don't know who exactly to blame (varnish vcl or apache conf?) $ curl -vsL -A ANDROID https://wikipedia.org/wiki/foo 2>&1 >/dev/null | egrep -e '^< HTTP/1' -e '^< Location: ' -e $'^\* (Issue another request to this URL:|getaddrinfo\(3\) failed for|Couldn\'t resolve host)' < HTTP/1.1 301 Moved Permanently < Location: http://www.wikipedia.org/wiki/foo * Issue another request to this URL: 'http://www.wikipedia.org/wiki/foo' < HTTP/1.1 302 Found < Location: http://www.m.wikipedia.org/wiki/foo * Issue another request to this URL: 'http://www.m.wikipedia.org/wiki/foo' * getaddrinfo(3) failed for www.m.wikipedia.org:80 * Couldn't resolve host 'www.m.wikipedia.org'
btw, does happen with both HTTP and HTTPS.
Why DNS?
Domain related? Seemed better than general. Or Cunningham's Law? I dunno.
Confirming comment 0 (though I don't get the last two lines of output).
back to general. it's not dns. probably is varnish (VCL) but I haven't checked.