lazydns

Fallback Plugin

fallback tries a sequence of child plugins in order, falling back to the next when a child returns an error or (by default) when its response is empty. It can be configured to only fallback on errors.

Modes of configuration

Arguments

Examples

Configuration using names:

plugins:
  - type: fallback
    args:
      primary: upstream_a
      secondary: upstream_b

Exec quick-setup (compact):

plugins:
  - exec: fallback:upstream_a,upstream_b

Behavior

When to use