自宅環境で試用しているキャッシュDNSサーバ、knot DNS resolverの1.4.0が公開になってました。
更新内容は以下の通り。
Knot Resolver 1.4.0 (2017-09-22)
================================
Incompatible changes
——————–
– lua: query flag-sets are no longer represented as plain integers.
kres.query.* no longer works, and kr_query_t lost trivial methods
‘hasflag’ and ‘resolved’.
You can instead write code like qry.flags.NO_0X20 = true.
Bugfixes
——–
– fix exiting one of multiple forks (#150)
– cache: change the way of using LMDB transactions. That in particular
fixes some cases of using too much space with multiple kresd forks (#240).
Improvements
————
– policy.suffix: update the aho-corasick code (#200)
– root hints are now loaded from a zonefile; exposed as hints.root_file().
You can override the path by defining ROOTHINTS during compilation.
– policy.FORWARD: work around resolvers adding unsigned NS records (#248)
– reduce unneeded records previously put into authority in wildcarded answers
クエリにフラグセットとか出来るようになったんですね。サンプルの「qry.flags.NO_0X20 = true
」とかは使うでしょうね。
バグフィックスのkresdのフォーク周りの修正のようですね。この辺りはまだ発展途上らしいので、うまいこと動作してほしいと思います。
policy.suffix
の改善については、エイホーコラシックってなんでしょう。参照周りの改善ということになるんでしょうか。
あと、以前自分が勘違いしていたrootヒントファイルについて、外部読み込みにも対応した模様。たぶん、こっちのほうが便利なんじゃないかなぁと思っていたので、個人的には嬉しい改善です。
使用環境がUbuntuなんで、PPAのアップデートを待っているのですが(記事作成時点)まだアップデートされていない模様。そろそろソースからbuildするように変更しようかなぁ・・・