This documentation is for HAProxy Enterprise 1.9r1, if you are looking for the latest version see here.
Searching HAProxy Enterprise 1.9r1
DNS Service Discovery
Service discovery is a way to update HAProxy automatically with the IP addresses of servers in the network. HAProxy can watch DNS records for changes, and then add or remove servers from its configuration to match.