OperaのDNS Cache

Operaはなぜか192.168.2.20でページ遷移。ちなみに、127.0.0.1IISのデフォルトページが出るはずなんですけどねー。

DNSキャッシュ - 渋谷まで820円 (2009-01-15)

あらら。

DNS は OS 付属のものを使っていて Opera 自身は何もしていないと、どこかで読んだような気がしてたんだけど、違ったみたい。(古い情報だったのかな?)

the only way
I can find to flush that cache is to restart opera.

Is this the expected behaviour, and if so, is there any way to disable
the DNS cache in Opera[1], or to flush it automatically or manually?

Flushing the DNS cache?

Yes, this is the expected behaviour, and so far there is no way
to disable it. It's a defense against DNS rebinding attacks(*).

*) www.evil.com serves a JavaScript "port scanner", and later
evil.com's DNS rebinds www.evil.com to 192.168.0.1, which may
be your DSL router or internal corporate Web server.

Flushing the DNS cache?

DNS rebinding attack という攻撃に対処するために、Opera は自前で DNS をキャッシュしていて、再起動するしかクリアする方法はないみたい。

出典は2008年12月のメーリングリストで、発言者は Opera の Herman Robak 氏。

彼曰く、

If it keeps happening to the same server, put it in /etc/hosts.txt

Flushing the DNS cache?

ということで、OS 標準の DNS も見てるっぽいことは書いてある。メーリングリストはこの後も続くが、Windows とは関係なかったので割愛。

ここに置いてある

Execute program,"ipconfig","/flushdns"

とかいうボタンはたぶん使えないと思う。

Open Opera and go to Tools > Delete private data. Choose which items you wish to delete and click Delete.

How to clear the cache in Firefox, Internet Explorer, Safari and Opera

これは効くかどうか知らない。