Questions

Dealing with IE8 false dns errors

+
0 Votes
Locked

Dealing with IE8 false dns errors

mattohare
I notice that IE (version 8 in my case) puts up a bogus DNS error. The internet connected and I can get to pages on the site in question.

The link is:
http://rails-trial-90.1steasy.net/angl/countries/timezone/tz22.htm

It should redirect to:
http://rails-trial-90.1steasy.net/bear/articles/tz22

Anyone else have to work around the issue?
+
0 Votes
TobiF
Collapse -

A redirect may work or not. But in what way is DNS involved?
If you go to the first address and then get a redirection, there won't be any second dns lookup, since you already have a fresh entry in your dns cache.

By the way, for me the redirection works fine in both IE8 and Opera. (I'm on a Vista right now)

+
0 Votes
robo_dev
Collapse -

Malware, corrupt add-ins, and the bizarre bugs (Microsoft calls them "features") of IE8.

http://www.brighthub.com/computing/windows-platform/articles/60039.aspx

+
0 Votes
mattohare
Collapse -

This is one of those odd cases where IE performed properly, and the others didn't. My server-side code was doing the redirect, but it was sending the status on the resulting page. I intended the status for the redirect reply itself.

IE saw the status code for a permanent redirect and tried to do that redirect. The server did not provide a URL for the destination, so it ignored the content and gave a DNS error. (To be fair, the error message wasn?t accurate so IE did get that part wrong.)

The other browsers simply served up the content and pretended that it wasn?t a redirect.

+
0 Votes
TobiF
Collapse -

So you were using status 301, rather than 302?

+
0 Votes
mattohare
Collapse -

Right now I have a site of all static HTML files. The new site is a Rails application. That means that all the URLs will change. I wrote a controller to redirect, permenantly, to the new addresses.