<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><pre>>do you mean, the same domains with different content, depending on clients'
>IPs? That's common multiple-view setup
<div>>(nothing special or intelligent).</div><div><br></div><div>Yes, I will create a view and acl for every client. Because every client has the unique IP address.</div><div><pre><br></pre></div><pre>>Why? Do you have that many clients constantly with changing IPs?
>
>Maybe they could use local DNS server talking to your DNS server using TSIG,
</pre><div>>and instead of IPs you'd define TSIG keys.</div><div><br></div><div>My client vm directly connect the dns server.  There are no local servers on the road.</div><div><pre><div><pre>Different client may create the same domain. So I must use IP to limit who use which view. client view can't use TSIG key.</pre></div><div><pre>>I'm afraid for now there's no  way to make this via rndc.
>You'll have to generate named config per-client.</pre><pre>I wan to know whether per-client can have own confile file that contains view and acl. Not put view and acl in named.conf.</pre><pre><br></pre><pre>>>Updating config file frequently may affect other zones in this dns server.
>
>I don't understand how/why it should affect other zones.
</pre></div><div>Yes, updating config file don't affect other zones.</div></pre></div></pre><p style="margin: 0;"><br></p><p style="margin: 0;"><br></p><p style="margin: 0;"><br></p><p style="margin: 0;"><br></p><div style="position:relative;zoom:1"><p style="margin: 0">--</p><div>Thanks.</div><div>Zhengyu</div><div style="clear:both"></div></div><div id="divNeteaseMailCard"></div><p style="margin: 0;"><br></p><pre><br>At 2021-04-15 23:28:15, "Matus UHLAR - fantomas" <uhlar@fantomas.sk> wrote:
>On 15.04.21 20:53, Zhengyu Pan wrote:
>>The  "intelligent" means that dns server return the corresponding A record IP address according  to the source IP address of the tenants.
>>My dns server is an Authoritative dns server. It hosts the zones of different tenants.
>
>do you mean, the same domains with different content, depending on clients'
>IPs? That's common multiple-view setup
>(nothing special or intelligent).
>
>>I need to update config file name.conf frequently Because The views and ACLS are added frequently.
>
>Why? Do you have that many clients constantly with changing IPs?
>
>Maybe they could use local DNS server talking to your DNS server using TSIG,
>and instead of IPs you'd define TSIG keys.
>
>>So i want to know whether have commands or API to add acl and view like the command "rndc addacl" or "rndc addview"?
>
>I'm afraid for now there's no  way to make this via rndc.
>You'll have to generate named config per-client.
>
>>Updating config file frequently may affect other zones in this dns server.
>
>I don't understand how/why it should affect other zones.
>
>
>
>>At 2021-04-15 15:08:26, "Matus UHLAR - fantomas" <uhlar@fantomas.sk> wrote:
>>>On 15.04.21 15:35, Zhengyu Pan wrote:
>>>>I want to implement intelligent DNS through bind9.
>>>
>>>>I need to add a custom line(IP address ranges) to bind9 using acl and view
>>>> when add a user.  Because when add a tenant, i need to define a new acl
>>>> and view.  I don't want to update named.conf config file frequently.
>>>
>>>what is supposed to be intelligent there?
>>>
>>>I mean, why?  are you going to provide recursive service to someone who pays
>>>for that?
>>>
>>>> Does bind9 support adding acl and view through commands or API, not by updating config file?
>>>> like the command "rndc addacl" or "rndc addview".
>>>
>>>I don't think so, looks a bit too complicated.
>
>
>-- 
>Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
>Warning: I wish NOT to receive e-mail advertising to this address.
>Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
>- Have you got anything without Spam in it?
>- Well, there's Spam egg sausage and Spam, that's not got much Spam in it.
>_______________________________________________
>Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
>
>ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.
>
>
>bind-users mailing list
>bind-users@lists.isc.org
>https://lists.isc.org/mailman/listinfo/bind-users
</pre></div><br><br><span title="neteasefooter"><p> </p></span>