Random Backend

Deprecated since version 4.6.0: This backend was removed in 4.6.0

  • Native: Yes
  • Primary: No
  • Secondary: No
  • Producer: No
  • Consumer: No
  • Autosecondary: No
  • DNS Update: No
  • DNSSEC: No
  • Disabled data: No
  • Comments: No
  • API: No
  • Multiple instances: No
  • Zone caching: No
  • Module name: random
  • Launch: random

This used to be a very silly backend which is still discussed in the Backends writer’s guide. as a demonstration on how to write a PowerDNS backend.

This backend knew about only one hostname, and only about its IP address at that. With every query, a new random IP address was generated.

It only made sense to load the random backend in combination with a regular backend. This can be done by prepending it to the launch instruction, such as launch=random,gmysql.

Configuration Parameters

random-hostname

  • String

Hostname for which to supply a random IP address.