謎's キッチン

謎のひとりごと。Amazon欲しい物リストはこちら: https://www.amazon.co.jp/hz/wishlist/ls/CCPOV7C6JTD2

DNSPrefetchの対応

x-dns-prefetch-controlとかなんぞこれと思ったらgoogle chromeの仕様を実装したらしい。仕様は以下。
http://dev.chromium.org/developers/design-documents/dns-prefetching
ただその仕様に書かれている内容が…。アクロバティック過ぎます><

<a href="http://a.com"> A) Default HTTPS: No prefetching </a>
<meta http-equiv="x-dns-prefetch-control" value="on">
<a href="http://b.com"> B) Manual opt-in: Prefetch domain resolution. </a>
<meta http-equiv="x-dns-prefetch-control" value="off">
<a href="http://c.com"> C) Manual opt-out: Don't prefetch domain resolution </a>
<meta http-equiv="x-dns-prefetch-control" value="on">
<a href="http://d.com"> D) Already opted out: Don't prefetch domain resolution. </a>

link rel="dns-prefetch"にも対応しているようだ。これでDNSサーバーへの攻撃がやりやすくなるね!