Creating Service Records for Generic Provider (Regex)

Stacks Image 179
The screen shot above depicts a service record example for the Generic Provider (Regex). There are two fundamental operations described by this record:

  • Construction of the URL to update a dynamic DNS record
    This is defined by using two text fields

    • Update URL
      The HTTP URL string that includes all query parameters. Within this string, you can use the "<ip>" substring (without double qoutes) as a placeholder for IPv4 or IPv6 public address. This UTF8 encoded string must not be "percent encoded". Only the GET method is supported.

      To create this string, you have to search for your dynamic DNS provider's "Update API". Then, manually construct this URL. You need to have basic knowledge of HTTP protocols and how query parameters are specified. If you need technical assistance, please do not hesitate to get in touch with our support team.

    • Authorization
      Most, but not all, APIs pass the credentials in a Authorization header. The most commonly used Authorization header is the "Basic" authorization. Please use web tools to create your Authorization header value, like this web site. If an Authorization header is not needed, then simply enter "none" in this field.
  • Checking Status
    Checking of the status and extraction of the error messages reported by the dynamic DNS provider are specified using two regular expression (Regex) patterns.

    • Success Regex Match
      When applied to the response body, the regular expression match pattern that indicates succesfull completion of the dynamic DNS record update operation.

    • Error Regex Capture
      When applied to the response body, the regular expression capture pattern that captures the error messages reported by the dynamic DNS provider.

 Tutorials