notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
After the ports freeze to fix some stuff, the freeze is over. I have some work to do before FreshPorts can start processing commits again before it can start processing again. I've created an issue for that.
Port details on branch 2026Q3
knot-resolver6 Caching full resolver implementation
6.4.2_1 dns on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 6.4.2Version of this port present on the latest quarterly branch.
Maintainer: freebsd@dns.company search for ports maintained by this maintainer
Port Added: 2026-09-23 19:22:40
Last Update: 2026-09-23 19:17:58
Commit Hash: 5e77942
License: GPLv3+
WWW:
https://www.knot-resolver.cz/
Description:
Knot Resolver is a caching DNS resolver scalable from huge resolver farms down to home network routers. Knot Resolver is a modern resolver implementation designed for scalability, resiliency, and flexibility. Its design is different from other resolvers: The core architecture is tiny and efficient, and most of the rich features are implemented as optional modules, which limits attack surface and improves performance.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
pkg-plist: as obtained via: make generate-plist
Expand this list (113 items)
Collapse this list.
  1. /usr/local/share/licenses/knot-resolver6-6.4.2_1/catalog.mk
  2. /usr/local/share/licenses/knot-resolver6-6.4.2_1/LICENSE
  3. /usr/local/share/licenses/knot-resolver6-6.4.2_1/GPLv3+
  4. @dir(kresd,kresd,0755) etc/knot-resolver
  5. @dir(kresd,kresd,0700) /var/run/kresd
  6. @sample etc/knot-resolver/kresd.conf.sample
  7. etc/knot-resolver/root.hints
  8. etc/knot-resolver/root.keys
  9. etc/knot-resolver/icann-ca.pem
  10. include/libkres/api.h
  11. include/libkres/array.h
  12. include/libkres/cdb_api.h
  13. include/libkres/cdb_lmdb.h
  14. include/libkres/defines.h
  15. include/libkres/dnssec.h
  16. include/libkres/impl.h
  17. include/libkres/iterate.h
  18. include/libkres/kru.h
  19. include/libkres/layer.h
  20. include/libkres/log.h
  21. include/libkres/lru.h
  22. include/libkres/mmapped.h
  23. include/libkres/module.h
  24. include/libkres/nsec.h
  25. include/libkres/nsec3.h
  26. include/libkres/pack.h
  27. include/libkres/proto.h
  28. include/libkres/queue.h
  29. include/libkres/resolve-impl.h
  30. include/libkres/resolve.h
  31. include/libkres/rplan.h
  32. include/libkres/selection.h
  33. include/libkres/selection_forward.h
  34. include/libkres/selection_iter.h
  35. include/libkres/signature.h
  36. include/libkres/ta.h
  37. include/libkres/top.h
  38. include/libkres/trie.h
  39. include/libkres/utils.h
  40. include/libkres/zonecut.h
  41. lib/knot-resolver/ahocorasick.so
  42. lib/knot-resolver/debug_opensslkeylog.so
  43. lib/knot-resolver/distro-preconfig.lua
  44. lib/knot-resolver/kluautil.lua
  45. lib/knot-resolver/kres-gen.lua
  46. lib/knot-resolver/kres.lua
  47. lib/knot-resolver/kres_modules/bogus_log.so
  48. lib/knot-resolver/kres_modules/daf.lua
  49. lib/knot-resolver/kres_modules/daf/daf.js
  50. lib/knot-resolver/kres_modules/detect_time_jump.lua
  51. lib/knot-resolver/kres_modules/detect_time_skew.lua
  52. lib/knot-resolver/kres_modules/dns64.lua
  53. lib/knot-resolver/kres_modules/edns_keepalive.so
  54. lib/knot-resolver/kres_modules/etcd.lua
  55. lib/knot-resolver/kres_modules/experimental_dot_auth.lua
  56. lib/knot-resolver/kres_modules/extended_error.so
  57. lib/knot-resolver/kres_modules/fallback.lua
  58. lib/knot-resolver/kres_modules/graphite.lua
  59. lib/knot-resolver/kres_modules/hints.so
  60. lib/knot-resolver/kres_modules/http.lua
  61. lib/knot-resolver/kres_modules/http/bootstrap-theme.min.css
  62. lib/knot-resolver/kres_modules/http/bootstrap.min.css
  63. lib/knot-resolver/kres_modules/http/bootstrap.min.js
  64. lib/knot-resolver/kres_modules/http/d3.js
  65. lib/knot-resolver/kres_modules/http/datamaps.world.min.js
  66. lib/knot-resolver/kres_modules/http/dygraph.min.js
  67. lib/knot-resolver/kres_modules/http/epoch.css
  68. lib/knot-resolver/kres_modules/http/epoch.js
  69. lib/knot-resolver/kres_modules/http/favicon.ico
  70. lib/knot-resolver/kres_modules/http/glyphicons-halflings-regular.woff2
  71. lib/knot-resolver/kres_modules/http/jquery.js
  72. lib/knot-resolver/kres_modules/http/kresd.css
  73. lib/knot-resolver/kres_modules/http/kresd.js
  74. lib/knot-resolver/kres_modules/http/main.tpl
  75. lib/knot-resolver/kres_modules/http/selectize.bootstrap3.css
  76. lib/knot-resolver/kres_modules/http/selectize.min.js
  77. lib/knot-resolver/kres_modules/http/topojson.js
  78. lib/knot-resolver/kres_modules/http_doh.lua
  79. lib/knot-resolver/kres_modules/http_tls_cert.lua
  80. lib/knot-resolver/kres_modules/http_trace.lua
  81. lib/knot-resolver/kres_modules/nsid.so
  82. lib/knot-resolver/kres_modules/policy.lua
  83. lib/knot-resolver/kres_modules/predict.lua
  84. lib/knot-resolver/kres_modules/prefetch.lua
  85. lib/knot-resolver/kres_modules/prefill.lua
  86. lib/knot-resolver/kres_modules/priming.lua
  87. lib/knot-resolver/kres_modules/prometheus.lua
  88. lib/knot-resolver/kres_modules/rebinding.lua
  89. lib/knot-resolver/kres_modules/refuse_nord.so
  90. lib/knot-resolver/kres_modules/renumber.lua
  91. lib/knot-resolver/kres_modules/serve_stale.lua
  92. lib/knot-resolver/kres_modules/stats.so
  93. lib/knot-resolver/kres_modules/ta_sentinel.lua
  94. lib/knot-resolver/kres_modules/ta_signal_query.lua
  95. lib/knot-resolver/kres_modules/ta_update.lua
  96. lib/knot-resolver/kres_modules/view.lua
  97. lib/knot-resolver/kres_modules/watchdog.lua
  98. lib/knot-resolver/kres_modules/workarounds.lua
  99. lib/knot-resolver/krprint.lua
  100. lib/knot-resolver/postconfig.lua
  101. lib/knot-resolver/sandbox.lua
  102. lib/knot-resolver/trust_anchors.lua
  103. lib/knot-resolver/zonefile.lua
  104. lib/libkres.a
  105. libdata/pkgconfig/libkres.pc
  106. sbin/kres-cache-gc
  107. sbin/kresd
  108. share/bash-completion/completions/kresctl
  109. share/man/man8/kresctl.8.gz
  110. share/man/man8/kresd.8.gz
  111. @owner
  112. @group
  113. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • krescachegc
  • kresd
Dependency lines:
  • knot-resolver6>0:dns/knot-resolver6
Conflicts:
CONFLICTS:
  • knot-resolver-[0-5].*
To install the port:
cd /usr/ports/dns/knot-resolver6/ && make install clean
To add the package, run one of these commands:
  • pkg install dns/knot-resolver6
  • pkg install knot-resolver6
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: knot-resolver6
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1788725204 SHA256 (knot-resolver-6.4.2.tar.xz) = 854ad23367bab66392f7d74f142f2219e3090ae81126b635430fce7b1916f1a3 SIZE (knot-resolver-6.4.2.tar.xz) = 2372660

No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. bash : shells/bash
  2. flake8 : devel/py-flake8@py312
  3. lua54-cqueues>=20200726_1 : devel/lua-cqueues@lua54
  4. luacheck : devel/lua-luacheck
  5. cmake : devel/cmake-core
  6. lua54 : lang/lua54
  7. meson : devel/meson
  8. ninja : devel/ninja
  9. pkgconf>=1.3.0_1 : devel/pkgconf
  10. python3.12 : lang/python312
Runtime dependencies:
  1. lua54-cqueues>=20200726_1 : devel/lua-cqueues@lua54
  2. lua54 : lang/lua54
Library dependencies:
  1. libgnutls.so : security/gnutls
  2. libknot.so : dns/knot3
  3. liblmdb.so : databases/lmdb
  4. libnghttp2.so : www/libnghttp2
  5. libngtcp2.so : net/libngtcp2
  6. libngtcp2_crypto_gnutls.so : net/libngtcp2-gnutls
  7. libuv.so : devel/libuv
  8. libzscanner.so : dns/knot3
  9. libluajit-5.1.so : lang/luajit
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for knot-resolver6-6.4.2_1: DNSTAP=off: dnstap support DOCS=on: Build and/or install documentation EXAMPLES=on: Build and/or install examples TESTUNIT=off: Build unit tests ===> Use 'make config' to modify these settings
Options name:
dns_knot-resolver6
USES:
cmake:indirect compiler:c11 lua:build,run luajit meson ncurses ninja pkgconfig python:build tar:xz
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://dns.company/downloads/knot-resolver/
  2. https://knot-resolver.nic.cz/release/
Collapse this list.

Number of commits found: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
6.4.2_1
23 Sep 2026 19:17:58
commit hash: 5e779420e814088a75eeb2929401ac8458660a6acommit hash: 5e779420e814088a75eeb2929401ac8458660a6acommit hash: 5e779420e814088a75eeb2929401ac8458660a6acommit hash: 5e779420e814088a75eeb2929401ac8458660a6a files touched by this commit
Yusuf Yaman (nxjoseph) search for other commits by this committer
Author: Leo Vandewoestijne
dns/knot-resolver6: Fix build with knot >=3.6, support LMDB 1.0.0

PR:		298518
Approved by:	osa, vvd (Mentors, implicit)

(cherry picked from commit e02174c7bc942fd25646526a40c1770abba8be58)
6.4.2
23 Sep 2026 19:17:58
commit hash: b801f78a6c6dc0f56b817e6b3b365b90fee1375bcommit hash: b801f78a6c6dc0f56b817e6b3b365b90fee1375bcommit hash: b801f78a6c6dc0f56b817e6b3b365b90fee1375bcommit hash: b801f78a6c6dc0f56b817e6b3b365b90fee1375b files touched by this commit
Yusuf Yaman (nxjoseph) search for other commits by this committer
dns/knot-resolver6: Update 6.1.0 => 6.4.2

While here:
- Add linked libraries as dependencies
  reported by stage-qa: net/libngtcp2{,-gnutls}.
- Add patch regarding missing ENODATA on FreeBSD.

Changes:
- DNS-over-QUIC (DoQ) support and bugfixes.
https://www.knot-resolver.cz/documentation/v6.4.2/NEWS.html

PR:		297189
Approved by:	freebsd@dns.company (maintainer timeout, 1+ month)
Approved by:	osa, vvd (Mentors, implicit)

(cherry picked from commit 3e421e0f4dcb22cad789d166a0eea459ab475347)

Number of commits found: 2