<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div id="yui_3_16_0_ym19_1_1506695775171_4365" dir="ltr">It's great !</div><div id="yui_3_16_0_ym19_1_1506695775171_4365" dir="ltr">In fact, the hostname.bind is more valuable than version.bind for me.</div><div id="yui_3_16_0_ym19_1_1506695775171_4365" dir="ltr">Thanks ! </div><div></div><div id="yui_3_16_0_ym19_1_1506695775171_4364"> </div><div class="signature" id="yui_3_16_0_ym19_1_1506695775171_4363">SUN Guonian<div id="yui_3_16_0_ym19_1_1506695775171_4362"><br></div></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 13px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> On Friday, September 29, 2017 7:01 PM, Tony Finch <dot@dotat.at> wrote:<br></font></div> <br><br> <div class="y_msg_container"><div dir="ltr">Sun Guonian via bind-users <<a shape="rect" ymailto="mailto:bind-users@lists.isc.org" href="mailto:bind-users@lists.isc.org">bind-users@lists.isc.org</a>> wrote:<div class="yqt8522614998" id="yqtfd67757"><br clear="none"><br clear="none">> I meet a problem, I want to conceal the host information from the<br clear="none">> Internet, but want it bevisible to the special client. I know it could<br clear="none">> be realize via bind view, but I need createa special CHAOSNET zone for<br clear="none">> every BIND instance, 200 or more, which include its IP address or its<br clear="none">> hostname.</div><br clear="none"><br clear="none">I don't think it needs to be that complicated. You can copy the _bind view<br clear="none">from the default configuraton and adjust it as you want, as in the example<br clear="none">below. I changed the allow-query acl, and also gave it a different name<br clear="none">than _bind to avoid colliding with the built-in view. The _builtin<br clear="none">hostname runes create the special zones for you without you having to make<br clear="none">one per server.<br clear="none"><br clear="none">The default server-id is none, so there's no need to change that if you<br clear="none">find your hostnames embarrassing.<br clear="none"><br clear="none">view bind chaos {<br clear="none"> allow-query { localhost; localnets; };<br clear="none"> notify no;<br clear="none"> recursion no;<br clear="none"> allow-new-zones no;<br clear="none"> rate-limit {<br clear="none"> slip 0;<br clear="none"> responses-per-second 3;<br clear="none"> min-table-size 10;<br clear="none"> };<br clear="none"> zone authors.bind ch { type master; database "_builtin authors"; };<br clear="none"> zone hostname.bind ch { type master; database "_builtin hostname"; };<br clear="none"> zone version.bind ch { type master; database "_builtin version"; };<br clear="none"> zone id.server ch { type master; database "_builtin id"; };<br clear="none">};<br clear="none"><br clear="none">Tony.<br clear="none">-- <br clear="none">f.anthony.n.finch <<a shape="rect" ymailto="mailto:dot@dotat.at" href="mailto:dot@dotat.at">dot@dotat.at</a>> <a shape="rect" href="http://dotat.at/" target="_blank">http://dotat.at/ </a> - I xn--zr8h punycode<br clear="none">Faeroes, Southeast Iceland: Southeasterly veering southerly 6 to gale 8,<br clear="none">becoming cyclonic later in Southeast Iceland. Very rough, occasionally high.<br clear="none">Rain or showers. Moderate or good.</div><br><br></div> </div> </div> </div></div></body></html>