]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: dns: Implement `parse-resolv-conf` directive
authorBen Draut <drautb@gmail.com>
Tue, 29 May 2018 21:40:08 +0000 (15:40 -0600)
committerWilly Tarreau <w@1wt.eu>
Wed, 30 May 2018 03:17:16 +0000 (05:17 +0200)
commit44e609bfa5bfd498fe5487ed9c53016e5052b827
treee7c2f9c4551f74ba485d45cc6564c4a6562a6ffc
parent082627af77bf062c94920a742269dfca241f62c8
MINOR: dns: Implement `parse-resolv-conf` directive

This introduces a new directive for the `resolvers` section:
`parse-resolv-conf`. When present, it will attempt to add any
nameservers in `/etc/resolv.conf` to the list of nameservers
for the current `resolvers` section.

[Mailing list thread][1].

[1]: https://www.mail-archive.com/haproxy@formilux.org/msg29600.html
doc/configuration.txt
src/cfgparse.c