From nobody Sat Feb 17 21:49:53 2024 X-Original-To: freebsd-ports@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 4TcjC23ggyz59nbQ for ; Sat, 17 Feb 2024 21:50:06 +0000 (UTC) (envelope-from bofh@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TcjC21Ld8z4xDm; Sat, 17 Feb 2024 21:50:06 +0000 (UTC) (envelope-from bofh@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708206606; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=NOugwKwf9CfpZBzcuyy2EZt687r9VSGfB8R0EW1Uu2A=; b=K2Ewee8IU+FkMFhXSl9zDJeKjEnFJVO6gNQyIezeSVv0Ixw8ERFwDNJ+h1XKjsZxN7+peE voRK0jke01+fZdw/YpvQhUZ5AchbhJndDF11RwVOBBlvf6XPDGf3qrT8H+8S5S7tFbtaza Ydli07JhX5Pp/RBXQ0RrrvgvDRZHjxk2cTavVX2xq9a16jLnAHb3mZqPoeSiyEnJwN2/bB APSzwGTxGACRivBh2wSGI8sKYyDDCbcWg+WyT3mdNWJHDVQIpajIcClYBIJblKaJipp8lu yELeU3MxDGjd3b+kifxhc6J7O6H1nNHlOvh4v6EH0dggAtQxqhF/ymdCgEa6WA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708206606; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=NOugwKwf9CfpZBzcuyy2EZt687r9VSGfB8R0EW1Uu2A=; b=hxHo3WLvR/WV9f+cZoafr25H+v6LyDpIcgN9mAq8HOJQROGk5AzLApLXR/RBGRXYQEsMTu NeLDfe4EqDyw/ajrNcO/WNKPCMEgWDyJ7kcgsJD9G7OnGU2DGHfcOprcJMJVXBjIfV6/K5 W+yykrIEPuzy3jgdSSB3AMsCJzJO3VpWA/CzsARXGx2a0Mqh65oIfJMxl/dqUhU5ZmQfpD Dt1ZNUv/xBICwQbytwRLgHQffoZr5oHKD3VBdvCMFhNHXMr6EYQfMQwUFMSyTsX1XViPHd QwQ6AJILlqA4JkAzxlIMfWNL/6W5xtSkMsUKARZKavThqMjog/fOqEGY/wVuVw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708206606; a=rsa-sha256; cv=none; b=QNpP4XN66839a9a+xh3vT68bTbA0ihMvlGqD6mJt5h5vTCxpHI67vx8Vo88SsGvxpZKYWy 2B+6BZvFytmU7MhyAus9mnTIBfBRZj2X+ppvWTXGP/gnhnvfe4RQyoTOwFtCwkdg83xDV5 uWd0yiJcnfRE5gxFfnyJOXaWro/XtiGbCzp4pENUK/E2ZpIHqoyfL+QLcbraUxl2naMjQy yb5Oix7p7wEJT7u2DxvX+SwdeQI7MMuIz/LUsCjHYXvndMEUZscdbIIffyAKsYpCVXiazQ z1f0usu9ydhZpyX+B67xghF0A/8B36N7QslaVipVOOrDhmu73QUuIr9jySNtKQ== Received: from mx.bofh.network (mx.bofh.network [5.9.249.227]) (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) (Authenticated sender: bofh/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4TcjC14PSmz1BFg; Sat, 17 Feb 2024 21:50:05 +0000 (UTC) (envelope-from bofh@freebsd.org) Received: from smtpclient.apple ( [217.117.226.147]) by mx.bofh.network (OpenSMTPD) with ESMTPSA id 4be1a1bf (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO); Sat, 17 Feb 2024 21:50:04 +0000 (UTC) Content-Type: multipart/signed; boundary="Apple-Mail=_7FF38448-496B-4B8E-AEFB-75B87BCDCC5C"; protocol="application/pgp-signature"; micalg=pgp-sha512 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6.1.1\)) Subject: Re: Bind918 slave reports Dumping master file...open: file not found From: Moin Rahman In-Reply-To: Date: Sat, 17 Feb 2024 22:49:53 +0100 Cc: Tatsuki Makino , freebsd-ports@freebsd.org Message-Id: <030919EB-9808-4E77-9892-92591100C4CC@freebsd.org> References: <8E081A72-42E7-4639-B8E0-D1C41FA2E09B@freebsd.org> To: bob prohaska X-Mailer: Apple Mail (2.3731.700.6.1.1) --Apple-Mail=_7FF38448-496B-4B8E-AEFB-75B87BCDCC5C Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii > On Feb 17, 2024, at 10:35 PM, bob prohaska wrote: > > On Sat, Feb 17, 2024 at 09:53:48PM +0100, Moin Rahman wrote: > snip >> In some earlier versions the sample config we used to ship had relative >> file paths I believe. And as I know that Bob has been a long term user >> he indeed did not update the config file to the newer format where we >> are using absolute filenames despite having directory directive. > > In fact I kept the new named.conf and edited the local changes to it. > The old named.conf was quite old and didn't resemble the new format. > >> >> So unless you know both the technical implications which you have >> explained here and the historical implication it's difficult to >> understand where these directories should be created. > > It's fair to say I'm a long-time user of bind, but equally fair > to add "...not fully comprehending...". 8-) > > A few comments in named.conf as to directory and file purpose > would have helped quite a bit. When I saw the error referring > to "...dumping..." I thought it was a reference to > dump-file "/var/dump/named_dump.db"; > and when that didn't help got stuck. It remains unclear what > dump-file is for, though I'm sure it's somewhere in the docs. > Maybe cores? dump-file is the file where bind dumps it's cache in case of a service reload/restart is required. > Is it still true that unbound is caching-only? A DNS that's part > of FreeBSD base would be much better for me. unbound was, is and always will be caching only server. That is what it is built for. nsd is the counterpart for the authoritative server. However based on certain cases like a local network some information might be served from a local file or imported by zone transfer. Look into auth-zone directive. Considering the fact that DNS servers are often the case of vulnerabilities it's difficult to update the dns server in the base rather than updating a port. So there is less likely chance of having a DNS server in base. > Thanks for everyone's help! > > bob prohaska > > > > > > > Named.conf has so many comments it's somewhat hard to read, but in some > cases more might still be better. > >> But then again I haven't used bind for a long time so cannot say much. >> >> Kind regards, >> Moin > > --Apple-Mail=_7FF38448-496B-4B8E-AEFB-75B87BCDCC5C Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEETfdREoUGjQZKBS+fvbm1phfAvJEFAmXRKgFfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDRE Rjc1MTEyODUwNjhEMDY0QTA1MkY5RkJEQjlCNUE2MTdDMEJDOTEACgkQvbm1phfA vJHrIw//TemncxWXEUb/xpZrXd+vhk5wUXuy2ATqUtiQ2sYr0M1m9n91PaQYhGce ODFFGbqzWUL8F44iWAtAYySIMXj28qlAOe5GSv1pnW8xEUeyE40oHw0EAr1/pwFk UF8QKpMMcDccbhSA0thWdVJHmegZXHNKbldzgCH3/yYIEqyuPwaObbeRB9As02qZ zOa7A4OhcLa0YskwMLty3cVBHhK8uS6178NP4A+OBdJrORRF+TQ+Agdzkc4+14Gl Am4BDTGY0DM3AUZw2XQ8qxljYyYAthFjtYA4MxT0unolYV62OD/Yyf3raE8mnwRk qojecPO2gQxj3NJfzhbd38RJ5Nn51HPjsZrVej7AUnbwehmtH6Va+m9fITUl70m5 9MqbACyRSQbQVr/Zy0sUKQUqet/DE6Lypw1XF7lTkZJO3ryBumzKrbBJc6zs/S72 zfjnt5SHuRdZtDGEZKFLW9PLkoW3HKh/qv6E+A+5u6i4QRnKOTVZN+Bt1XE+OelZ kGS5wEU3bOGXSY5FShuWdmrgTUB5a6bJ0F1ZtIHFkhhI4xwfpd0WoSIQTCAzfTn9 coiVR0CqbvmA4fpi218WhwydagLgZ8tD5FCCr3cLtKSlSKGfCGsR1KP0PtQdBCF9 R2gLYKtsQ873FSyJBcMGst5xlnATeDqQF+1XWYECGImwMM+UhW8= =dIYM -----END PGP SIGNATURE----- --Apple-Mail=_7FF38448-496B-4B8E-AEFB-75B87BCDCC5C--