Creates a DNS record with the specified information.
The zone ID.
The DNS record name.
The IP to update the record with.
CloudFlare API authentication information.
Callback function called with any error that occurred.
Creates or updates a CloudFlare DNS record, depending on whether it already exists. An error is returned if there are multiple DNS records for the specified record name.
CloudFlare API authentication information.
The IP to update the record with.
The name of the record.
The name of the zone.
Callback function called with any error that occurred.
Deletes the specified DNS record from CloudFlare. This function is only used for testing this module.
CloudFlare API authentication information.
The name of the record.
The name of the zone.
Callback function called with any error that occurred.
Gets the specified DNS record from CloudFlare. This function is only used for testing this module.
CloudFlare API authentication information.
The name of the record.
The name of the zone.
Callback function called with any error that occurred as well as the ID of the record retrieved.
Gets the DNS record ID associated with the specified record name.
The zone ID.
The DNS record name.
CloudFlare API authentication information.
Callback function called with any error that occurred, as well as the DNS record ID.
Gets the current external IP from the myexternalip.com API.
Callback function called with any error that occurred as well as the IP address returned from the API.
Gets results from the CloudFlare API.
The URI.
CloudFlare API authentication information.
Callback function called with any error that occurred, as well as the API results.
The HTTP method.
The request body.
The start page associated with the request.
Gets the zone ID associated with the specified zone name.
The zone name.
CloudFlare API authentication information.
Callback function called with any error that occurred, as well as the zone ID.
Creates an HTTPS request to the specified URL.
The URL of the HTTP request.
Called when a response is received with any error that occurred as well as the response and response body if one is received.
The HTTP method associated with the request.
An object containing the headers of the request.
The body of the request.
Returns whether or not the value is an array.
Returns whether or not the value is an object.
Returns whether or not the value is a string.
Returns whether or not the value is undefined.
Updates the specified CloudFlare DNS record with an IP address, creating it if it does not exist.
The options associated with the update request.
Callback function called with any error that occurred as well as the new IP address if the request succeeded.
Updates a DNS record with the specified information.
The zone ID.
The DNS record ID.
The IP to update the record with.
CloudFlare API authentication information.
Callback function called with any error that occurred.
Generated using TypeDoc