Sign inSign up

glanf/load_balancer

By glanf

Updated almost 11 years ago

A transparent DNS load balancer.

Image
0

1.2K

glanf/load_balancer repository overview

This network function catches DNS query requests and replies for a specific domain (configured in the DOMAIN environment variable) with different addresses. Currently, it selects an address randomly from the WEBSERVERS environment variable.

When the network function is activated, the following behaviour is expected:

root@testclient:~# dig testwebpage +noall +answer
testwebpage.		0	IN	A	10.0.0.1
root@testclient:~# dig testwebpage +noall +answer
testwebpage.		0	IN	A	10.0.0.3    
root@testclient:~# dig testwebpage +noall +answer
testwebpage.		0	IN	A	10.0.0.3
root@testclient:~# dig testwebpage +noall +answer
testwebpage.		0	IN	A	10.0.0.1

Tag summary

Content type

Image

Digest

sha256:1cd8180ed

Size

141.1 MB

Last updated

almost 11 years ago

docker pull glanf/load_balancer