onlyone

package module
v0.0.0-...-af59c17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

README

onlyone

Name

onlyone - Randomly chooses a single RR of each specified type in the response.

Description

There can be only one. If there are multiple records of the same type in the response, this plugin will strip out all but one of them. This can be useful, for example, to replace the loadbalance plugin if Happy Eyeballs sorting is getting in the way.

Syntax

onlyone [ZONES ...] {
  types TYPES
}
  • ZONES is the zones to which this plugin applies. If omitted, they default to ..
  • TYPES is a list of DNS types to which this plugin applies. If types is omitted, it will apply to A and AAAA records only.

Examples

onlyone example.com {
  types A SRV AAAA
}

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL