This document is about PowerDNS 4.X. If you have PowerDNS 3.X, please see the PowerDNS 3.X documentation

Random Backend

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

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

It only makes 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

Hostname for which to supply a random IP address.