Scriptable DNS
Query Response Object Types
The handleQuery entry point function supports multiple object return types to return different types of answers. This page contains the various types of answers the function can return to respond to queries.
Each response object usually consists of a constructor that receives a string representation of the value and a TTL value parameter that determines how long the response client should cache the object.
Objects can be returned as a single object or as an array of objects depending on the desired output.