| 1 |
.\" Generated by Mmark Markdown Processor - mmark.miek.nl |
| 2 |
.TH "RANDOM" 7 "August 2026" "atomdns handlers" "atomdns authors" |
| 3 |
|
| 4 |
.SH "NAME" |
| 5 |
.PP |
| 6 |
\fIrandom\fP \- randomizes the order of address records |
| 7 |
|
| 8 |
.SH "DESCRIPTION" |
| 9 |
.PP |
| 10 |
The \fIrandom\fP handler will act as a "load balancer" by randomizing the order of address (A/AAAA) records in the |
| 11 |
answer section. |
| 12 |
|
| 13 |
.PP |
| 14 |
See Wikipedia |
| 15 |
\[la]https://en.wikipedia.org/wiki/Round-robin_DNS\[ra] about the pros and cons of this setup. It will |
| 16 |
take care to sort any CNAMEs before any address records, because some stub resolver implementations (like |
| 17 |
glibc) are particular about that. |
| 18 |
|
| 19 |
.SH "SYNTAX" |
| 20 |
.PP |
| 21 |
.RS |
| 22 |
|
| 23 |
.nf |
| 24 |
random [POLICY] |
| 25 |
|
| 26 |
.fi |
| 27 |
.RE |
| 28 |
|
| 29 |
.IP \(bu 4 |
| 30 |
\fBPOLICY\fP is the policy to use, when not given it defaults to \fB\fCrandom\fR. |
| 31 |
|