<div dir="ltr">hi Andries,<br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Aug 7, 2016 at 3:15 PM, Andries Annema <span dir="ltr"><<a href="mailto:an3s.annema@gmail.com" target="_blank">an3s.annema@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal">Hello all,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">What’s up with the BIND DNS server package? Trying to get it installed and running on a r151014 box and even though installation  from the <a href="http://ms.omniti.com" target="_blank">ms.omniti.com</a> publisher is successful, …:<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"># pkg info server/dns/bind<u></u><u></u></p><p class="MsoNormal">          Name: omniti/server/dns/bind<u></u><u></u></p><p class="MsoNormal">       Summary: BIND DNS server and tools<u></u><u></u></p><p class="MsoNormal">         State: Installed<u></u><u></u></p><p class="MsoNormal">     Publisher: <a href="http://ms.omniti.com" target="_blank">ms.omniti.com</a><u></u><u></u></p><p class="MsoNormal">       Version: 9.10.4<u></u><u></u></p><p class="MsoNormal">        Branch: 0.151014<u></u><u></u></p><p class="MsoNormal">Packaging Date: Wed May  4 18:19:49 2016<u></u><u></u></p><p class="MsoNormal">          Size: 63.48 MB<u></u><u></u></p><p class="MsoNormal"><span lang="NL">          FMRI: pkg://<a href="http://ms.omniti.com/omniti/server/dns/bind@9.10.4-0.151014:20160504T181949Z" target="_blank">ms.omniti.com/omniti/<wbr>server/dns/bind@9.10.4-0.<wbr>151014:20160504T181949Z</a><u></u><u></u></span></p><p class="MsoNormal"><span lang="NL"><u></u> <u></u></span></p><p class="MsoNormal">… a DNS server service doesn’t show up:<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"># svcs -a | grep dns<u></u><u></u></p><p class="MsoNormal">disabled       14:04:31 svc:/network/dns/install:<wbr>default<u></u><u></u></p><p class="MsoNormal">disabled       14:04:31 svc:/network/dns/client:<wbr>default<u></u><u></u></p><p class="MsoNormal">disabled       14:04:33 svc:/network/dns/multicast:<wbr>default<u></u><u></u></p><p class="MsoNormal"></p></div></div></blockquote></div><br><br></div><div class="gmail_extra">The <a href="http://ms.omniti.com">ms.omniti.com</a> bind server package does not have the smf configuration, I had the same problem a while ago.<br><br></div><div class="gmail_extra">I ended up installing the one in uulm.mawi repo, these are the notes from my documentation to get it running:<br><pre># pkg set-publisher -g <a href="http://scott.mathematik.uni-ulm.de/release">http://scott.mathematik.uni-ulm.de/release</a> uulm.mawi
</pre>
<p>Verify the repo is enabled:
</p>
<pre># pkg publisher 
PUBLISHER                             TYPE     STATUS   URI
omnios                                origin   online   <a href="http://pkg.omniti.com/omnios/release/">http://pkg.omniti.com/omnios/release/</a>
uulm.mawi                             origin   online   <a href="http://scott.mathematik.uni-ulm.de/release/">http://scott.mathematik.uni-ulm.de/release/</a>
</pre>
<p>Then we can install it with:
</p>
<pre># pkg install service/network/dns/bind
</pre>
<p>This will install bind but it is not enabled by default. Fortunately this is very easy. First find the service name:
</p>
<pre># svcs -a | grep dns
disabled       13:21:43 svc:/network/dns/install:default
disabled       13:21:43 svc:/network/dns/client:default
disabled       13:21:45 svc:/network/dns/multicast:default
disabled       14:29:16 svc:/network/dns/server:default
</pre>
<p>The last one looks like the right one, so we enable it with
</p>
<pre># svcadm enable dns/server
# svcs -a | grep dns
disabled       13:21:43 svc:/network/dns/install:default
disabled       13:21:43 svc:/network/dns/client:default
disabled       13:21:45 svc:/network/dns/multicast:default
online         14:30:50 svc:/network/dns/server:default
</pre>
<p>This bind package has a file /etc/named.conf.sample, so we copy 
that to /etc/named.conf and modify it to your liking. For a caching 
server the only change you probably need to do is adapt the 
allow-recursion parameter to match your network</p><pre># svcadm disable dns/server
# svcadm enable dns/server
</pre>Hope this helps.<br><br></div><div class="gmail_extra">Regards,<br></div><div class="gmail_extra">-- <br></div><div class="gmail_extra">Natxo<br></div></div>