Skip to main content

Load Balancer Detection

developer
GET/v1/domain/load-balancer

Detects load balancing by analyzing DNS responses, HTTP headers, and connection patterns. Identifies load balancer types and providers.

What It Does

Analyzes multiple signals for load balancing: multiple A records in DNS (round-robin), load balancer specific headers (X-Served-By, X-Backend-Server, X-Amzn-Trace-Id), and cookie-based session affinity patterns (BIGipServer, AWSALB, ARRAffinity). Detects providers including F5 BIG-IP, AWS ELB/ALB, HAProxy, Azure LB, Google Cloud LB, Envoy, Istio, and Heroku Router.

Why It's Useful

Understanding load balancing architecture helps with infrastructure analysis, performance troubleshooting, and security assessments. It reveals deployment patterns and potential single points of failure.

Use Cases

Solutions Architect

Infrastructure Assessment

Analyze target infrastructure to understand load balancing approach.

Inform architecture decisions based on observed patterns.

Penetration Tester

Security Testing

Identify load balancing to understand potential attack surface variations.

Ensure all backend servers are tested during assessments.

SRE

Availability Analysis

Verify load balancing is properly configured for high availability.

Confirm redundancy is in place for critical services.

Parameters

NameTypeRequiredDescription
domainstringRequiredThe domain to detect load balancing forExample: example.com

Response Fields

FieldTypeDescription
domainstringThe queried domain
detectedbooleanWhether load balancing is detected
typestringLoad balancing type: dns-round-robin, header-based, cookie-based, or none
providersarrayDetected load balancer providers with name, vendor, type, and evidence
multipleIPsbooleanWhether multiple IP addresses were found
ipCountnumberNumber of distinct IP addresses
ipAddressesarrayResolved IP addresses
recommendationsarrayInfrastructure improvement suggestions

Code Examples

cURL
curl "https://api.edgedns.dev/v1/domain/load-balancer" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d "domain=example.com"
JavaScript
const response = await fetch(
  'https://api.edgedns.dev/v1/domain/load-balancer?domain=example.com',
  {
    headers: {
      'Authorization': 'Bearer YOUR_API_KEY'
    }
  }
);

const data = await response.json();
console.log(data);
Python
import requests

response = requests.get(
    'https://api.edgedns.dev/v1/domain/load-balancer',
    headers={'Authorization': 'Bearer YOUR_API_KEY'},
    params={
    'domain': 'example.com'
    }
)

data = response.json()
print(data)

Read the full Load Balancer Detection guide

Why it matters, real-world use cases, parameters, response fields, and how to call it from Claude, ChatGPT, or Gemini via MCP.

Read the guide →

Related Endpoints

External References

Learn more about the standards and protocols behind this endpoint.

Try This Endpoint

Test the Load Balancer Detection endpoint live in the playground.