TenForward

技術ブログ。はてなダイアリーから移転しました

bind 9.4

bind 9.4 の

  • recursion
  • allow-query
  • allow-query-cache
  • allow-recursion

辺りの関係がイマイチ... マニュアルに

Specifies which hosts are allowed to get answers from the cache. If allow-query-cache is not set then allow-recursion is used if set, otherwise allow-query is used if set, otherwise the default (localnets; localhost;) is used.

ってあるけど,allow-query-cache 設定しなくて allow-recursion とか allow-query 設定していても,その値が allow-query-cache の値として使われているようには見えない... 全部設定しない場合でも default が使われているように見えない...

また調べよう.

(追記)
9.4.1 ではバグでこの辺りマニュアル通りに動いていないっぽい.9.4.2 にしたらそれらしくなっているような...