HTTP and DNS load balancer detection
In this recipe, we will learn how to detect HTTP and load balancer using lbd. Lbd (load balancing detector) detects a given domain uses DNS and/or HTTP load-balancing (via server and date: header and diffs between server answers).
Getting ready
For this recipe, you will an Internet connection.
How to do it...
- Open the terminal and enter the following command:
lbd google.com
- Successful detection of HTTP and DNS load balancer results in the following output:
- Another example where DNS load balancer was detected and HTTP load balancing was detected is shown in the following screenshot:
- One thing that needs to be understood here is that lbd is not completely reliable; it is just a proof of concept to check whether balancing is done. One can read on the terminal that it may generate false positives, but it is a tool to have.
Â
- Another tool that can help us understand whether a DNS-based load balancer is actually present or not is the dig tool. Let's look...