FreeBSD/KnotResolver/kdns_modules/kres.luaについて、ここに記述してください。

libknot_SONAMEが未定義だった。

# diff -c kres.lua.orig kres.lua
*** kres.lua.orig       2017-05-13 18:44:28.888823000 +0900
--- kres.lua    2017-05-14 15:17:09.264922000 +0900
***************
*** 8,14 ****
  local bor = bit.bor
  local band = bit.band
  local C = ffi.C
! local knot = ffi.load(libknot_SONAME)
  
  -- Various declarations that are very stable.
  ffi.cdef[[
--- 8,14 ----
  local bor = bit.bor
  local band = bit.band
  local C = ffi.C
! local knot = ffi.load('/usr/local/lib/libknot.so')
  
  -- Various declarations that are very stable.
  ffi.cdef[[