<div dir="ltr">You are most welcome, I'm glad you got it running. Now the fun starts! :D<div><br></div><div>Greg</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 30 May 2023 at 21:02, Pacific <<a href="mailto:info@pacific-holding.com">info@pacific-holding.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">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. <div><br></div><div>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. <br><div><br><blockquote type="cite"><div>On May 10, 2023, at 1:39 AM, Greg Choules <<a href="mailto:gregchoules+bindusers@googlemail.com" target="_blank">gregchoules+bindusers@googlemail.com</a>> wrote:</div><br><div><div dir="ltr">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: <div>/usr/local/Cellar/bind/9.18.14/sbin/named because of this build parameter:<div>--prefix=/usr/local/Cellar/bind/9.18.14</div><div>It's linked to from /usr/local/opt/bind/sbin/named, for convenience.<div><br><div>I don't recall whether you get an example "named.conf" Mine is here, by the way:<br></div><div>/usr/local/etc/bind/named.conf because of this build parameter:</div></div></div></div><div>--sysconfdir=/usr/local/etc/bind<br></div><div><br></div><div>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.</div><div>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.</div><div><br></div><div><div>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":</div><div>sudo find / -name named</div><div>and see if you have a binary. In my case:</div><div>%file /usr/local/sbin/named<br>/usr/local/sbin/named: Mach-O 64-bit executable x86_64<br></div><div><br></div><div>If you find an executable, do <path>/named -V (uppercase V), which will print a summary of how it was built.</div><div>Similarly <path>/named -C (uppercase) will print the defaults.</div><div><br></div><div>Hope this helps.</div><div>Greg</div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 10 May 2023 at 05:55, Pacific <<a href="mailto:info@pacific-holding.com" target="_blank">info@pacific-holding.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Hi, thanks for the reply. <div><br></div><div>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”.<div><br></div><div>The bind docs at <a href="https://bind9.readthedocs.io/en/latest/chapter10.html#build-bind" target="_blank">https://bind9.readthedocs.io/en/latest/chapter10.html#build-bind</a></div><div><br></div><div>in section 10.2 on building show this:</div><div><br></div><div><p style="box-sizing:border-box;line-height:24px;margin:0px 0px 24px;color:rgb(64,64,64);font-family:Lato,proxima-nova,"Helvetica Neue",Arial,sans-serif"><code style="box-sizing:border-box;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",Courier,monospace;font-size:12px;max-width:100%;background-color:rgb(255,255,255);border:1px solid rgb(225,228,229);padding:2px 5px;overflow-x:auto"><span style="box-sizing:border-box">make</span> <span style="box-sizing:border-box">install</span></code> installs <a href="https://bind9.readthedocs.io/en/latest/manpages.html#std-iscman-named" style="box-sizing:border-box;color:rgb(155,89,182);text-decoration:none" target="_blank"><code style="box-sizing:border-box;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",Courier,monospace;font-size:12px;max-width:100%;background-color:rgb(255,255,255);border:1px solid rgb(225,228,229);padding:2px 5px;overflow-x:auto;font-weight:700"><span style="box-sizing:border-box">named</span></code></a> and the various BIND 9 libraries. By default, installation is into /usr/local, but this can be changed with the <code style="box-sizing:border-box;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",Courier,monospace;font-size:12px;max-width:100%;background-color:rgb(255,255,255);border:1px solid rgb(225,228,229);padding:2px 5px;overflow-x:auto"><span style="box-sizing:border-box">--prefix</span></code> option when running <code style="box-sizing:border-box;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",Courier,monospace;font-size:12px;max-width:100%;background-color:rgb(255,255,255);border:1px solid rgb(225,228,229);padding:2px 5px;overflow-x:auto"><span style="box-sizing:border-box">configure</span></code>.</p><p style="box-sizing:border-box;line-height:24px;margin:0px 0px 24px;color:rgb(64,64,64);font-family:Lato,proxima-nova,"Helvetica Neue",Arial,sans-serif">The option <code style="box-sizing:border-box;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",Courier,monospace;font-size:12px;max-width:100%;background-color:rgb(255,255,255);border:1px solid rgb(225,228,229);padding:2px 5px;overflow-x:auto"><span style="box-sizing:border-box">--sysconfdir</span></code> can be specified to set the directory where configuration files such as <a href="https://bind9.readthedocs.io/en/latest/manpages.html#std-iscman-named.conf" style="box-sizing:border-box;color:rgb(155,89,182);text-decoration:none" target="_blank"><code style="box-sizing:border-box;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",Courier,monospace;font-size:12px;max-width:100%;background-color:rgb(255,255,255);border:1px solid rgb(225,228,229);padding:2px 5px;overflow-x:auto;font-weight:700"><span style="box-sizing:border-box">named.conf</span></code></a> go by default; <code style="box-sizing:border-box;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",Courier,monospace;font-size:12px;max-width:100%;background-color:rgb(255,255,255);border:1px solid rgb(225,228,229);padding:2px 5px;overflow-x:auto"><span style="box-sizing:border-box">--localstatedir</span></code> can be used to set the default parent directory of<code style="box-sizing:border-box;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",Courier,monospace;font-size:12px;max-width:100%;background-color:rgb(255,255,255);border:1px solid rgb(225,228,229);padding:2px 5px;overflow-x:auto"><span style="box-sizing:border-box">run/named.pid</span></code>. <code style="box-sizing:border-box;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",Courier,monospace;font-size:12px;max-width:100%;background-color:rgb(255,255,255);border:1px solid rgb(225,228,229);padding:2px 5px;overflow-x:auto"><span style="box-sizing:border-box">--sysconfdir</span></code> defaults to <code style="box-sizing:border-box;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",Courier,monospace;font-size:12px;max-width:100%;background-color:rgb(255,255,255);border:1px solid rgb(225,228,229);padding:2px 5px;overflow-x:auto"><span style="box-sizing:border-box">$prefix/etc</span></code> and <code style="box-sizing:border-box;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",Courier,monospace;font-size:12px;max-width:100%;background-color:rgb(255,255,255);border:1px solid rgb(225,228,229);padding:2px 5px;overflow-x:auto"><span style="box-sizing:border-box">--localstatedir</span></code> defaults to <code style="box-sizing:border-box;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",Courier,monospace;font-size:12px;max-width:100%;background-color:rgb(255,255,255);border:1px solid rgb(225,228,229);padding:2px 5px;overflow-x:auto"><span style="box-sizing:border-box">$prefix/var</span></code>.</p><div>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.</div><div><br><blockquote type="cite"><div>On May 9, 2023, at 5:08 PM, Anand Buddhdev <<a href="mailto:anandb@ripe.net" target="_blank">anandb@ripe.net</a>> wrote:</div><br><div><div>On 09/05/2023 22:23, Pacific wrote:<br><br>Hi Pacific,<br><br><blockquote type="cite">Installing bind9 (9.18.14) on macOS Ventura (13.3.1) — install is<br>not  creating a namedb directory nor can I find a boilerplate named.conf.<br></blockquote><br>As far as remember, the bind install procedure doesn't create a named.conf.<br><br>-- <br>Anand<br></div></div></blockquote></div><br></div></div></div>-- <br>
Visit <a href="https://lists.isc.org/mailman/listinfo/bind-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a> to unsubscribe from this list<br>
<br>
ISC funds the development of this software with paid support subscriptions. Contact us at <a href="https://www.isc.org/contact/" rel="noreferrer" target="_blank">https://www.isc.org/contact/</a> for more information.<br>
<br>
<br>
bind-users mailing list<br>
<a href="mailto:bind-users@lists.isc.org" target="_blank">bind-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/bind-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a><br>
</blockquote></div>
</div></blockquote></div><br></div></div></blockquote></div>