Simple DNS Plus
Edit this page

Did you notice something wrong or unclear, or want to add something more to this page?

Great !!

You can edit the source text of this page on GitHub (click here to learn how).

After you submit your changes ("pull request"), we will review it and update the page.

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 1.1.1.1, 3 responses to 3.3.3.3 and 6 responses to 6.6.6.6.

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.

How to obtain this plug-in

This plug-in is included with the Simple DNS Plus installation.

Open source

This source code for this plug-in is available at https://github.com/jhsoftware/sdnspi-WRRobin

Contributions are most welcome.

Related KB articles:

Comments

Simple DNS Plus

  • Home
  • Search
  • Product details

  • Features
  • Screen shots
  • Plug-ins
  • Tools & Add-ons
  • Testimonials
  • What's new
  • Release notes
  • Download

  • Download
  • Buy

  • Pricing
  • New license
  • Additional license
  • Upgrade
  • Support

  • Overview
  • Lost License Key
  • Knowledge Base
  • Online documentation
  • Contact us