Hey Baptiste,

On Sun, Jun 10, 2018 at 3:19 AM Baptiste <bed...@gmail.com> wrote:

>
> ==> while writing this mail, I am able to reproduce the issue I think:
> - start HAProxy with SRV records
> - dump servers state
> - update haproxy conf to prevent dns resolution at runtime
> - reload haproxy
> ==> my servers are now "unconfigured"... (no IP, no FQDN, nothing from the
> servers state file)
>
>

That is exactly the issue I was seeing, my apologies for not describing the
actual issue I was seeing when I opened this thread.


>>
> 2. Additional record responses from the nameserver are not parsed
>>     - This just means that any servers that are populated from the SRV
>> records require a second round of querying for each of the hosts after the
>> fqdn is stored. It might be more efficient if these records are also parsed
>> but I can see that it might be pretty challenging in the current DNS
>> resolver
>>     - Only reason I thought of this was to try and reduce up the time it
>> takes to populate the backend servers with addresses in an effort to lessen
>> the effects of #1
>>
>>
> I'll work on this one as soon as I fixed the bug above/
>

Great! The first one will go a long way in making reloads pretty seamless
for DNS, at least for my use case :).

Thanks again,
Tait

Reply via email to