thank you - Re: bind9 (9.18.14) build / install on macOS Ventura (13.3.1) fails to create dirs or files as expected

Pacific info at pacific-holding.com
Tue May 30 20:02:01 UTC 2023


Thank you and to everyone who took the time to respond. Your collective input did the trick and I now have bind running successfully through a brew install. 

I got pulled into another project and wanted to reply with thanks sooner. Your time is valuable and I sincerely appreciate everyone who took the time to make suggestions. 

> On May 10, 2023, at 1:39 AM, Greg Choules <gregchoules+bindusers at googlemail.com> wrote:
> 
> The named binary *could* exist in many places; it depends on the OS. For example, with a Homebrew install on my Mac it's here: 
> /usr/local/Cellar/bind/9.18.14/sbin/named because of this build parameter:
> --prefix=/usr/local/Cellar/bind/9.18.14
> It's linked to from /usr/local/opt/bind/sbin/named, for convenience.
> 
> I don't recall whether you get an example "named.conf" Mine is here, by the way:
> /usr/local/etc/bind/named.conf because of this build parameter:
> --sysconfdir=/usr/local/etc/bind
> 
> Again, search for a named.conf and if you don't have one, 'touch' it to create it then try running it. By default it doesn't need to contain anything, just exist. The built-in defaults are enough to get a server running.
> As you start to customise your config, keep an eye on the log, which will tell you whether named starts or not and if not, why. Then you can correct errors and try again.
> 
> I don't think it should matter that artefacts from a previous install attempt are hanging around. But before you try installing it another way I would search for files called "named":
> sudo find / -name named
> and see if you have a binary. In my case:
> %file /usr/local/sbin/named
> /usr/local/sbin/named: Mach-O 64-bit executable x86_64
> 
> If you find an executable, do <path>/named -V (uppercase V), which will print a summary of how it was built.
> Similarly <path>/named -C (uppercase) will print the defaults.
> 
> Hope this helps.
> Greg
> 
> 
> On Wed, 10 May 2023 at 05:55, Pacific <info at pacific-holding.com <mailto:info at pacific-holding.com>> wrote:
> Hi, thanks for the reply. 
> 
> For some reason I thought it did install or drop a base bones named.conf file, however, it should have dropped the named binary into /usr/local  — which it didn’t do. And none of the other “various BIND 9 libraries”.
> 
> The bind docs at https://bind9.readthedocs.io/en/latest/chapter10.html#build-bind <https://bind9.readthedocs.io/en/latest/chapter10.html#build-bind>
> 
> in section 10.2 on building show this:
> 
> make install installs named <https://bind9.readthedocs.io/en/latest/manpages.html#std-iscman-named> and the various BIND 9 libraries. By default, installation is into /usr/local, but this can be changed with the --prefix option when running configure.
> 
> The option --sysconfdir can be specified to set the directory where configuration files such as named.conf <https://bind9.readthedocs.io/en/latest/manpages.html#std-iscman-named.conf> go by default; --localstatedir can be used to set the default parent directory ofrun/named.pid. --sysconfdir defaults to $prefix/etc and --localstatedir defaults to $prefix/var.
> 
> If I’m missing something please let me know - or if you have any suggestions, like just moving the named binary from my temp dir into /usr/local I’d appreciate. Thanks.
> 
>> On May 9, 2023, at 5:08 PM, Anand Buddhdev <anandb at ripe.net <mailto:anandb at ripe.net>> wrote:
>> 
>> On 09/05/2023 22:23, Pacific wrote:
>> 
>> Hi Pacific,
>> 
>>> Installing bind9 (9.18.14) on macOS Ventura (13.3.1) — install is
>>> not  creating a namedb directory nor can I find a boilerplate named.conf.
>> 
>> As far as remember, the bind install procedure doesn't create a named.conf.
>> 
>> -- 
>> Anand
> 
> -- 
> Visit https://lists.isc.org/mailman/listinfo/bind-users <https://lists.isc.org/mailman/listinfo/bind-users> to unsubscribe from this list
> 
> ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ <https://www.isc.org/contact/> for more information.
> 
> 
> bind-users mailing list
> bind-users at lists.isc.org <mailto:bind-users at lists.isc.org>
> https://lists.isc.org/mailman/listinfo/bind-users <https://lists.isc.org/mailman/listinfo/bind-users>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20230530/5664d5f6/attachment.htm>


More information about the bind-users mailing list