-
Notifications
You must be signed in to change notification settings - Fork 11
resolvers
Tristan Le Guern edited this page Apr 24, 2019
·
2 revisions
The resolvers section can be configured with the YAML tree haproxy_resolvers
. This is a feature introduced in Haproxy 1.6.
Example:
haproxy_resolvers:
- name: ns
nameservers:
- name: ns1
ip: 10.0.0.1
port: 53
- name: ns2
ip: 10.0.0.2
port: 53
hold:
- { status: other, period: 30s }
- { status: refused, period: 30s }
- { status: nx, period: 30s }
- { status: timeout, period: 30s }
- { status: valid, period: 30s }
timeout_retry: 1s
resolv_retries: 5
String.
List of mappings, optional.
- name ;
- ip ;
- port.
List of mappings, optional.
- status ;
- period.
Numerical, optional.
Time, optional.