final class DynamicDnsHelper (View source)

Helper functions for dynamic DNS updates

Methods

static string
statusMessage(string $status, bool $verbose = false)

Build the response line for a dynamic DNS update.

Details

static string statusMessage(string $status, bool $verbose = false)

Build the response line for a dynamic DNS update.

Parameters

string $status

Short status code, optionally followed by details

bool $verbose

Return the long explanation instead of the short code

Return Value

string