public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
From: Michael Tremer <git@ipfire.org>
To: ipfire-scm@lists.ipfire.org
Subject: [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 81af070d7c62476dc5e9c6a39a271077a9a74bd1
Date: Wed, 27 May 2026 12:09:57 +0000 (UTC)	[thread overview]
Message-ID: <4gQT2Y64Lmz2xKs@people01.haj.ipfire.org> (raw)

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


                 reply	other threads:[~2026-05-27 12:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4gQT2Y64Lmz2xKs@people01.haj.ipfire.org \
    --to=git@ipfire.org \
    --cc=ipfire-scm@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox