https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291790
--- Comment #10 from [email protected] --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=1538284a5fddfce546db678cb873b7edc6adb9ed commit 1538284a5fddfce546db678cb873b7edc6adb9ed Author: Dag-Erling Smørgrav <[email protected]> AuthorDate: 2026-01-31 17:52:53 +0000 Commit: Dag-Erling Smørgrav <[email protected]> CommitDate: 2026-01-31 17:52:53 +0000 libc/resolv: Switch default to loopback address If no resolver configuration was found, we would fall back to INADDR_ANY and IN6ADDR_ANY. This made sense when it was first written thirty or forty years ago but not today, especially since connecting to INADDR_ANY or IN6ADDR_ANY is no longer supported. Switch to the loopback address and simplify the code. Note that (as the pre-existing comment in the code states) running without a resolver configuration is not really supported. Still, if we're going to have a hardcoded fallback, it might as well work. PR: 291790 MFC after: 1 week Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D55011 lib/libc/resolv/res_init.c | 67 ++++++++++++++++++---------------------------- 1 file changed, 26 insertions(+), 41 deletions(-) -- You are receiving this mail because: You are the assignee for the bug.
