harbor run -t LiteCoder/dns-load-balance-clusterharbor download LiteCoder/dns-load-balance-clusterBuild a multi-host Nginx/WordPress web server cluster that is automatically load-balanced by a containerized BIND9 DNS server using round-robin A records with short TTL.
/app directoryCreate a complete Docker-based load balancing solution with the following components:
1. Docker Compose Configuration
/app/docker-compose.ymlpixelpress.testdig and curl utilities2. BIND9 DNS Server
/app/Dockerfile.bind9 (custom BIND9 image)pixelpress.test3. Web Server Containers
/app/Dockerfile.web (if custom image needed)pixelpress.test4. Testing Script
/app/test-loadbalancing.shdig to query pixelpress.test and show DNS rotationcurl to make HTTP requests to http://pixelpress.testWhen running docker compose up, the system must:
pixelpress.test with rotating IP addressespixelpress.test reach different backend containersThe solution will be tested by:
docker compose -f /app/docker-compose.yml up -d/app/test-loadbalancing.sh from the client container