<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>I think default configuration file is usually created by the
package distributor. It depends on how you want to use your named,
but for basic iterative server running just on your host, empty
file is enough. Defaults work fine enough for default
configuration.</p>
<p>If you run "named -c /dev/null", it will serve the data anyway. I
think named.conf were not installed, because bind release archive
does not contain any suitable file. Just because "touch
/usr/local/etc/named.conf" would create you a working one. I have
found just named.conf.in under bin/tests/system to configure
testing instances, but haven't found anything, which could be
installed for you. We use our own templates on Red Hat packages.</p>
<p>Cheers,<br>
Petr<br>
</p>
<div class="moz-cite-prefix">On 5/10/23 00:08, Pacific wrote:<br>
</div>
<blockquote type="cite"
cite="mid:7EEC3A89-9306-4681-9A99-45CEF68EFF63@pacific-holding.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Hi, thanks for the reply.
<div class=""><br class="">
</div>
<div class="">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 class=""><br class="">
</div>
<div class="">The bind docs at <a
href="https://bind9.readthedocs.io/en/latest/chapter10.html#build-bind"
class="moz-txt-link-freetext" moz-do-not-send="true">https://bind9.readthedocs.io/en/latest/chapter10.html#build-bind</a></div>
<div class=""><br class="">
</div>
<div class="">in section 10.2 on building show this:</div>
<div class=""><br class="">
</div>
<div class="">
<p style="box-sizing: border-box; line-height: 24px; margin:
0px 0px 24px; caret-color: rgb(64, 64, 64); color: rgb(64,
64, 64); font-family: Lato, proxima-nova, "Helvetica
Neue", Arial, sans-serif;" class=""><code
class="literal notranslate docutils" 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; color: black;
overflow-x: auto;"><span class="pre" style="box-sizing:
border-box;">make</span> <span class="pre"
style="box-sizing: border-box;">install</span></code> installs <a
class="internal reference"
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; cursor: pointer;"
moz-do-not-send="true"><code class="std-iscman literal
notranslate docutils xref std" 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;
color: black; overflow-x: auto; font-weight: 700;"><span
class="pre" 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
class="literal notranslate docutils" 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; color: black;
overflow-x: auto;"><span class="pre" style="box-sizing:
border-box;">--prefix</span></code> option when running <code
class="literal notranslate docutils" 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; color: black;
overflow-x: auto;"><span class="pre" style="box-sizing:
border-box;">configure</span></code>.</p>
<p style="box-sizing: border-box; line-height: 24px; margin:
0px 0px 24px; caret-color: rgb(64, 64, 64); color: rgb(64,
64, 64); font-family: Lato, proxima-nova, "Helvetica
Neue", Arial, sans-serif;" class="">The option <code
class="literal notranslate docutils" 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; color: black;
overflow-x: auto;"><span class="pre" style="box-sizing:
border-box;">--sysconfdir</span></code> can be specified
to set the directory where configuration files such as <a
class="internal reference"
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; cursor: pointer;"
moz-do-not-send="true"><code class="std-iscman literal
notranslate docutils xref std" 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;
color: black; overflow-x: auto; font-weight: 700;"><span
class="pre" style="box-sizing: border-box;">named.conf</span></code></a> go
by default; <code class="literal notranslate docutils"
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; color: black; overflow-x: auto;"><span
class="pre" style="box-sizing: border-box;">--localstatedir</span></code> can
be used to set the default parent directory of<code
class="literal notranslate docutils" 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; color: black;
overflow-x: auto;"><span class="pre" style="box-sizing:
border-box;">run/named.pid</span></code>. <code
class="literal notranslate docutils" 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; color: black;
overflow-x: auto;"><span class="pre" style="box-sizing:
border-box;">--sysconfdir</span></code> defaults to <code
class="literal notranslate docutils" 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; color: black;
overflow-x: auto;"><span class="pre" style="box-sizing:
border-box;">$prefix/etc</span></code> and <code
class="literal notranslate docutils" 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; color: black;
overflow-x: auto;"><span class="pre" style="box-sizing:
border-box;">--localstatedir</span></code> defaults to <code
class="literal notranslate docutils" 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; color: black;
overflow-x: auto;"><span class="pre" 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 class="">
<blockquote type="cite" class="">
<div class="">On May 9, 2023, at 5:08 PM, Anand Buddhdev
<<a href="mailto:anandb@ripe.net"
class="moz-txt-link-freetext" moz-do-not-send="true">anandb@ripe.net</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">On 09/05/2023 22:23, Pacific wrote:<br
class="">
<br class="">
Hi Pacific,<br class="">
<br class="">
<blockquote type="cite" class="">Installing bind9
(9.18.14) on macOS Ventura (13.3.1) — install is<br
class="">
not creating a namedb directory nor can I find a
boilerplate named.conf.<br class="">
</blockquote>
<br class="">
As far as remember, the bind install procedure doesn't
create a named.conf.<br class="">
<br class="">
-- <br class="">
Anand<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
</blockquote>
<pre class="moz-signature" cols="72">--
Petr Menšík
Software Engineer, RHEL
Red Hat, <a class="moz-txt-link-freetext" href="https://www.redhat.com/">https://www.redhat.com/</a>
PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB</pre>
</body>
</html>