<div dir="ltr">On Mon, Jun 27, 2016 at 3:47 PM, Hal Murray <span dir="ltr"><<a href="mailto:hmurray@megapathdsl.net" target="_blank">hmurray@megapathdsl.net</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<a href="mailto:cbwierda@gmail.com">cbwierda@gmail.com</a> said:<br>
> How are pool entries added when the service decides it needs more?<br>
<br>
</span>There is some background stuff that roughly says "need more?", and if so<br>
fires off the DNS lookup.<br>
<span class=""><br>
<br>
> Would it be possible to leverage this code for adding all servers specified<br>
> by name?<br>
<br>
</span>Probably not directly, but it wouldn't be hard for the server code to use<br>
more than one address if that was desired.  Maybe it should be "servers"<br>
rather than "server".  Do you have an example where that would be useful?<br>
<br>
If you don't have lots of servers, you probably don't want to switch to using<br>
"pool" since that path will probably keep banging away at the DNS looking for<br>
more servers.<br>
<div class="HOEnZb"><div class="h5"><br></div></div></blockquote><div><br></div><div>I'm not looking to change the operation of the server or pool directive.<br><br></div><div>I was thinking of setting up associations using the DNS lookup code.  If the mechanism for adding new pool servers was blocking on the DNS call but asynchronous to the rest of the daemon, I was figuring to call the lookup with the name provided by the server directive.  The only real difference between a specified server and a pool server is that you don't delete the specified server.<br><br></div><div>I'm definitely not looking to bang on DNS servers any more than I have to.<br><br></div><div>Clark B. Wierda <br></div></div></div></div>