<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Consolas","serif";}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Ow, wow. I didn’t think that would have worked, because that particular repo is flagged as “deprecated” and the packages in it are for r151012 while my box runs r151014. This made me expect it to fail, so I hadn’t even tried. <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Your reply triggered me to try anyways and guess what? Bull’s-eye. <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks! :-)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Regards,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Andries<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>PS: even though this solves the problem for now, wouldn’t we want the BIND DNS server packages on the ms.omniti.com repo to be complemented with a working smf configuration anyway? <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Now it tastes to me like a cake without the topping – it s*cks. :-)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Natxo Asenjo [mailto:natxo.asenjo@gmail.com] <br><b>Sent:</b> zondag 7 augustus 2016 22:10<br><b>To:</b> Andries Annema<br><b>Cc:</b> OmniOS-discuss@lists.omniti.com<br><b>Subject:</b> Re: [OmniOS-discuss] BIND DNS server on r151014<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>hi Andries,<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On Sun, Aug 7, 2016 at 3:15 PM, Andries Annema <<a href="mailto:an3s.annema@gmail.com" target="_blank">an3s.annema@gmail.com</a>> wrote:<o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Hello all,<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>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, …:<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'># pkg info server/dns/bind<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>          Name: omniti/server/dns/bind<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>       Summary: BIND DNS server and tools<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>         State: Installed<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>     Publisher: <a href="http://ms.omniti.com" target="_blank">ms.omniti.com</a><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>       Version: 9.10.4<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>        Branch: 0.151014<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Packaging Date: Wed May  4 18:19:49 2016<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>          Size: 63.48 MB<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><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/server/dns/bind@9.10.4-0.151014:20160504T181949Z</a></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=NL> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>… a DNS server service doesn’t show up:<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'># svcs -a | grep dns<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>disabled       14:04:31 svc:/network/dns/install:default<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>disabled       14:04:31 svc:/network/dns/client:default<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>disabled       14:04:33 svc:/network/dns/multicast:default<o:p></o:p></p></div></div></div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'>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.<o:p></o:p></p></div><div><p class=MsoNormal>I ended up installing the one in uulm.mawi repo, these are the notes from my documentation to get it running:<o:p></o:p></p><pre># pkg set-publisher -g <a href="http://scott.mathematik.uni-ulm.de/release">http://scott.mathematik.uni-ulm.de/release</a> uulm.mawi<o:p></o:p></pre><p>Verify the repo is enabled: <o:p></o:p></p><pre># pkg publisher <o:p></o:p></pre><pre>PUBLISHER                             TYPE     STATUS   URI<o:p></o:p></pre><pre>omnios                                origin   online   <a href="http://pkg.omniti.com/omnios/release/">http://pkg.omniti.com/omnios/release/</a><o:p></o:p></pre><pre>uulm.mawi                             origin   online   <a href="http://scott.mathematik.uni-ulm.de/release/">http://scott.mathematik.uni-ulm.de/release/</a><o:p></o:p></pre><p>Then we can install it with: <o:p></o:p></p><pre># pkg install service/network/dns/bind<o:p></o:p></pre><p>This will install bind but it is not enabled by default. Fortunately this is very easy. First find the service name: <o:p></o:p></p><pre># svcs -a | grep dns<o:p></o:p></pre><pre>disabled       13:21:43 svc:/network/dns/install:default<o:p></o:p></pre><pre>disabled       13:21:43 svc:/network/dns/client:default<o:p></o:p></pre><pre>disabled       13:21:45 svc:/network/dns/multicast:default<o:p></o:p></pre><pre>disabled       14:29:16 svc:/network/dns/server:default<o:p></o:p></pre><p>The last one looks like the right one, so we enable it with <o:p></o:p></p><pre># svcadm enable dns/server<o:p></o:p></pre><pre># svcs -a | grep dns<o:p></o:p></pre><pre>disabled       13:21:43 svc:/network/dns/install:default<o:p></o:p></pre><pre>disabled       13:21:43 svc:/network/dns/client:default<o:p></o:p></pre><pre>disabled       13:21:45 svc:/network/dns/multicast:default<o:p></o:p></pre><pre>online         14:30:50 svc:/network/dns/server:default<o:p></o:p></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<o:p></o:p></p><pre># svcadm disable dns/server<o:p></o:p></pre><pre># svcadm enable dns/server<o:p></o:p></pre><p class=MsoNormal style='margin-bottom:12.0pt'>Hope this helps.<o:p></o:p></p></div><div><p class=MsoNormal>Regards,<o:p></o:p></p></div><div><p class=MsoNormal>-- <o:p></o:p></p></div><div><p class=MsoNormal>Natxo<o:p></o:p></p></div></div></div></body></html>