Re: resolvers section: nameservers required?

2016-09-20 Thread Baptiste
On Thu, Sep 15, 2016 at 10:53 PM, Topher Cullen 
wrote:

> The documentation is unclear to me which, if any, of the resolver options
> are required for run time resolution. I defined a resolver section like
> this:
>
> resolver mydns
>   hold valid 2s
>
> I then configured a backend to use it. haproxy started without error or
> warning, but I don't believe its actually doing resolution. Can anyone shed
> so light on this new feature?
>
>
Hi,

Technically speaking, if there is no nameserver in the resolvers section,
then HAProxy won't perform any DNS resolution at run time.

I think you're right and we should report a Warning in such case.

Baptiste


resolvers section: nameservers required?

2016-09-15 Thread Topher Cullen
The documentation is unclear to me which, if any, of the resolver options
are required for run time resolution. I defined a resolver section like
this:

resolver mydns
  hold valid 2s

I then configured a backend to use it. haproxy started without error or
warning, but I don't believe its actually doing resolution. Can anyone shed
so light on this new feature?

-- 
Topher Cullen
System Engineer at Jamberry Nails
Draper, Utah