Using plug-ins in Simple DNS Plus
/ List of Simple DNS Plus plug-ins)
Weighted Round Robin plug-in
This plug-in serves IP addresses for a host name round robin from a weighted list.
IP addresses are rotated so that the first visitor gets one IP address, the next visitor another IP address, etc.
However IP addresses with higher weight values are served more often than IP addresses with lower weight values.
This makes it possible for example to send more traffic to high capacity servers in a round robin set.
In the plug-in instance dialog / Plug-In Settings tab you can specify the host name, weight / IP addresses, and host record TTL:
The weight value for each IP address is a number from 1 to 99.
You can treat these as percentages if you make sure they total 100.
However any combination of weight values can be used - they do not need to add up to any specific total.
With the configuration in the screen shot above, out of 10 requests, 1 response would point to 184.108.40.206, 3 responses to 220.127.116.11 and 6 responses to 18.104.22.168.
This plug-in works with both IPv4 and IPv6 addresses.
NOTE: DNS round robin cannot provide an exact weight distribution of traffic because other DNS server will cache the records and potentially serve multiple end users with the same data, and different end users may use services more or less. But measured on average over time the traffic distribution will be as weighted.
Available for Simple DNS Plus versions: