From nobody Fri Dec 19 01:55:45 2025 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dXVxF2K8kz6KL1j for ; Fri, 19 Dec 2025 01:55:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dXVxF1gL6z3JP1 for ; Fri, 19 Dec 2025 01:55:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1766109345; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=x7Hdu81T8Q1ljzZgT23EdvWyWEzOYtU5fH+xxhJqS/Q=; b=hCM3G78AccugSbfMcgE6XYZKOhur+GhyRFGKl0MRAzvRTHGxMBsyFSItotcbNxL0d8UPTO hQRcIRaJGH5cLZeJYlc9D4/4Qp4ZuuaC//Nu51cEIKobMxiZndDilVLDEuIR09cZ5tQgL5 Jg9L3FJzIeDFfbjXX+d82Yc4BBp/lYLch/c6WMVr+2T46i+XsMLqBxjiij//TQ61Vj91H4 zZfMoQ9l/ixAWxPzyaF2JzN/KQI9FzIsxkgyhPiJuAGvyyDJoiIyAAQAigb2Iujw68XWIT gIEFCA2RZdOIJ5uEdRQrCn+Yd7eiuUnB7uSKeh+15Qdm7OHZrtvVAuVMXPShoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1766109345; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=x7Hdu81T8Q1ljzZgT23EdvWyWEzOYtU5fH+xxhJqS/Q=; b=KPrLwqwx45EnkzAS2uI8RrP1EF5hKIrEOu//YKO5ddn2rAmcuzF1eSWPsZLXcyWtC1VY4C U68HJPjj3numBRkxKSE0PNfHVjrgna72ajE2YYHPUk+mYA3s0gHZHfBq1oHAZUTOOTxdnz USb+TcPpwVodVCBCrs6i3dLH3lVWk8OPJXWFGc9rJ4KmZlt3zZcH6LYpq0UQv/x60ZYg7Q 4F4xmGYZ+FoiJZ519G1j3a1bXEBGd3xJGAujvDm5c/VIXRzjhyLxxj9G5g4+iD9jfHLpTm /ZRk/KZ4eahT2CimogNq8BoaybmvzAG7ZjxDft+M9q5+cQGTsX/AF6KxlPpkBA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1766109345; a=rsa-sha256; cv=none; b=FcmJGSnxCituTPsxieDk7bEUizaa9PgNvMmrV0Q56FxT7pq+nzBEE4JZc2rynJyGcmqudA w7aZgg8nYMlHU9GnT8I4uk2xqZlqrksZ7Qp7AeVjclS7W6UpxogEwwTMABWjHhpId0T37b /MrT0SfE2rk3UR4grN94T5Xkp10iW6nxkL/HHI/ZRYRJZnPlVCplPP7kjyYB8nzrG++h1K cSyxXMBYu+RBdoOncMaY6tWM88pxvhPjA7ZdM/HY+gyCCiyS8JNYCMVa3WETTMvY2zGLqa GOXn1oPMm86UjpK85o8qKnkEolVYdMea/xEP7ZiP67RrR/I1jFw1/3Fiv9DiDQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4dXVxF1Gznz13vN for ; Fri, 19 Dec 2025 01:55:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 5BJ1tjdJ098688 for ; Fri, 19 Dec 2025 01:55:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BJ1tjNu098687 for bugs@FreeBSD.org; Fri, 19 Dec 2025 01:55:45 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 291790] local-unbound: /etc/resolv.conf needed by 15.0, not wanted in 14.3, not created by upgrade Date: Fri, 19 Dec 2025 01:55:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 15.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: wbe@psr.com X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not A Bug X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D291790 --- Comment #2 from wbe@psr.com --- > (In reply to Dag-Erling Sm=C3=B8rgrav from comment #1) > FreeBSD has always required an /etc/resolv.conf. I don't know where you = got the idea that it didn't. [Foo, my previous reply seems to have been discarded. Trying again...] From: 1) (as I said in the description) the first line of /etc/resolv.conf.no whi= ch said: "#not when running name server on localhost; better to have no file" 2) the fact that my GENERIC system has been working just fine without an /etc/resolv.conf since at least as far back as 12.0-RELEASE-p1 in 2019, and 3) Upon looking into this further, I see the date on resolv.conf.no is April 25, 2012 (which is most likely the date I ceased having a resolv.conf), but= it looks like I didn't switch to local-unbound until 2014, so I'm not sure wha= t to think.=20=20 What is clear is that, no, resolv.conf hasn't always been required for name resolution. I note that man resolv.conf still says: " On a normally configured system, setting this file manually should not= be necessary. The only name server(s) to be queried will be on the local machine or automatically configured using DHCP or a similar mechanism, the domain name is determined from the host name, and the domain search path is constructed from the domain name. " which could be interpreted as either "file not required" or "the default fi= le provided shouldn't need to be changed". Maybe that means it worked, but via a resolver other than the local named or unbound? No DHCP, though. I'm happy leaving this bug report closed. It's here if anyone else comes looking. --=20 You are receiving this mail because: You are the assignee for the bug.=