HAProxy Enterprise Documentation 2.5r1

Global server load balancing

HAProxy Enterprise can serve as an authoritative Domain Name System (DNS) server in a limited capacity, specifically for implementing global server load balancing (GSLB). This lets you respond to DNS queries with the IP address(es) assigned to a datacenter that is the best match for the end user, such as the one that is geographically closest to them. Or, you can configure DNS to return the address of a secondary datacenter if the primary becomes inaccessible.


Learn about global server load balancing.


Install global server load balancing.


Configurations used in global server load balancing.

DNS round-robin load-balancing

Enable GSLB round-robin load-balancing

Enable GSLB failover

Enable GSLB failover.

Geolocation-based load balancing

Enable geolocation-based GSLB.

Logs and status

View logs and status for GSLB.

Reference guide

Reference guide GSLB.

Next up