* [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 81af070d7c62476dc5e9c6a39a271077a9a74bd1
@ 2026-05-27 12:09 Michael Tremer
0 siblings, 0 replies; only message in thread
From: Michael Tremer @ 2026-05-27 12:09 UTC (permalink / raw)
To: ipfire-scm
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".
The branch, next has been updated
via 81af070d7c62476dc5e9c6a39a271077a9a74bd1 (commit)
via 8b3db73f71b2cec9d24875064a4363fdfd820956 (commit)
from c2c233f5cb00238b2726e8484b0e11e9d5f76c1c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 81af070d7c62476dc5e9c6a39a271077a9a74bd1
Author: Michael Tremer <michael.tremer@ipfire.org>
Date: Wed May 27 13:08:53 2026 +0100
knot resolver: Don't clear hints configuation
This is only being loaded into the policy loader and so we won't need to
clear any previous data as the policy loader is always started fresh.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
commit 8b3db73f71b2cec9d24875064a4363fdfd820956
Author: Michael Tremer <michael.tremer@ipfire.org>
Date: Wed May 27 13:08:17 2026 +0100
knot resolver: Load /etc/hosts
Fixes: #13994 - Cannot access WUI via FQDN, only IP
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
-----------------------------------------------------------------------
Summary of changes:
config/knot-resolver/config.lua | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Difference in files:
diff --git a/config/knot-resolver/config.lua b/config/knot-resolver/config.lua
index 01bde6cff..162e8f5c6 100644
--- a/config/knot-resolver/config.lua
+++ b/config/knot-resolver/config.lua
@@ -196,8 +196,8 @@ function config.load_hosts()
-- Log action
log_debug(ffi.C.LOG_GRP_HINT, string.format("Loading hosts from %s", path))
- -- Clear any previously registered hints
- hints.config()
+ -- Load /etc/hosts
+ hints.add_hosts("/etc/hosts")
-- Set the TTL to one minute
hints.ttl(60)
hooks/post-receive
--
IPFire 2.x development tree
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-05-27 12:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-27 12:09 [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 81af070d7c62476dc5e9c6a39a271077a9a74bd1 Michael Tremer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox