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.
Port details
knot-resolver6 Caching full resolver implementation
6.1.0_2 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.1.0_1Version of this port present on the latest quarterly branch.
Maintainer: freebsd@dns.company search for ports maintained by this maintainer
Port Added: 2025-12-24 06:03:42
Last Update: 2026-07-06 15:57:32
Commit Hash: 5f9d389
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.1.0_2/catalog.mk
  2. /usr/local/share/licenses/knot-resolver6-6.1.0_2/LICENSE
  3. /usr/local/share/licenses/knot-resolver6-6.1.0_2/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 = 1768225823 SHA256 (knot-resolver-6.1.0.tar.xz) = 7921df7507286d90574bbf5ae664a8a537805ce40b5fa8b15f5d0d33e2c438d0 SIZE (knot-resolver-6.1.0.tar.xz) = 2158788

Packages (timestamps in pop-ups are UTC):
knot-resolver6
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest6.1.0_16.1.0_1--6.1.0_1n/an/an/a
FreeBSD:13:quarterly6.1.0_16.1.0_1--6.1.0_1n/an/an/a
FreeBSD:14:latest6.1.0_16.1.0_2--6.1.0_2---
FreeBSD:14:quarterly6.1.0_26.1.0_2--6.1.0_2---
FreeBSD:15:latest6.1.0_26.1.0_2n/a-n/an/a--
FreeBSD:15:quarterly6.1.0_26.1.0_2n/a-n/an/a--
FreeBSD:16:latest6.1.0_16.1.0_2n/a-n/an/a--
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. libdnssec.so : dns/knot3
  2. libgnutls.so : security/gnutls
  3. libknot.so : dns/knot3
  4. liblmdb.so : databases/lmdb0
  5. libnghttp2.so : www/libnghttp2
  6. libuv.so : devel/libuv
  7. libzscanner.so : dns/knot3
  8. 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.1.0_2: 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: 4

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
6.1.0_2
06 Jul 2026 15:57:32
commit hash: 5f9d389f299ac8124a5114c2f014984390b6fd1ecommit hash: 5f9d389f299ac8124a5114c2f014984390b6fd1ecommit hash: 5f9d389f299ac8124a5114c2f014984390b6fd1ecommit hash: 5f9d389f299ac8124a5114c2f014984390b6fd1e files touched by this commit
Xin LI (delphij) search for other commits by this committer
databases/lmdb0: Add port for LMDB 0.9.x legacy ABI

LMDB 1.0 introduced an incompatible on-disk format change and subtle
API breakage: applications that compiled cleanly against 1.0 headers
could fail silently at run time. Known affected ports include dns/knot3,
mail/bogofilter, and mail/postfix; the postfix issue has been confirmed
upstream. Linux distributions such as Arch Linux have observed the same
breakage. Samba can also be affected in certain configurations.

Because the regression is not detectable in an -exp build run -- the
postfix failure only manifests at run time, and bogofilter was caught
only because post-build self-tests happen to exercise this path -- we
cannot rely on package builds to validate the 1.0 upgrade.

This commit introduces databases/lmdb0 as a holding port for the 0.9.35
(Only the first 15 lines of the commit message are shown above View all of this commit message)
6.1.0_1
17 Mar 2026 05:48:21
commit hash: ff3b1152a6891b80d1d907eb07ece25d1bc30805commit hash: ff3b1152a6891b80d1d907eb07ece25d1bc30805commit hash: ff3b1152a6891b80d1d907eb07ece25d1bc30805commit hash: ff3b1152a6891b80d1d907eb07ece25d1bc30805 files touched by this commit
Koichiro Iwao (meta) search for other commits by this committer
*/*: Bump all devel/protobuf consumers

They must always be bumped after devel/protobuf because it include
following files whose filenames contain %%PORTVERSION%%. Consequently,
the shlib will always change when PORTVERSION is increased.

lib/libprotobuf-lite.so.%%PORTVERSION%%.0
lib/libprotobuf.so.%%PORTVERSION%%.0
lib/libprotoc.so.%%PORTVERSION%%.0

Approved by:	portmgr (blanket; fixing consumers)
6.1.0
20 Jan 2026 14:09:13
commit hash: faca4dc5dc0dd33badf29c92e3f86b2e5ac2c6bccommit hash: faca4dc5dc0dd33badf29c92e3f86b2e5ac2c6bccommit hash: faca4dc5dc0dd33badf29c92e3f86b2e5ac2c6bccommit hash: faca4dc5dc0dd33badf29c92e3f86b2e5ac2c6bc files touched by this commit
Vladimir Druzenko (vvd) search for other commits by this committer
Author: Leo Vandewoestijne
dns/knot-resolver6: Update 6.0.17 => 6.1.0

Release Notes:
https://www.knot-resolver.cz/documentation/v6.1.0/NEWS.html#knot-resolver-6-1-0-2026-01-08

- Remove hardcoded lua 5.1 - upstream added support for newer versions.
- Replace manual strip with --strip build option.
- Remove unnecessary LDFLAGS.
- Fix TESTUNIT option.

PR:		292402 291928
Co-authored-by:	Vladimir Druzenko <vvd@FreeBSD.org>
6.0.17
24 Dec 2025 05:59:42
commit hash: 36bded72682c1b86da9c74c170c3cd0725ce4cf5commit hash: 36bded72682c1b86da9c74c170c3cd0725ce4cf5commit hash: 36bded72682c1b86da9c74c170c3cd0725ce4cf5commit hash: 36bded72682c1b86da9c74c170c3cd0725ce4cf5 files touched by this commit
Koichiro Iwao (meta) search for other commits by this committer
dns/knot-resolver6: Add new port

This port is meant to replace dns/knot-resolver in the future, and
intends to allow a seamless migration to it's users.

PR:		291892

Number of commits found: 4