Adding a NAPTR Record

NAPTR (Name Authority Pointer) DNS records are used to route internet telephony sessions. Such records implement rewrite rules based on a regular expression (for example, to replace a phone number with an email address).

Important: Creating NAPTR records is supported only for the PowerDNS server.

To add to a domain the NAPTR record:

  1. Go to Services > Domains.
  2. Click the name of the domain to which you want to add a DNS record.
  3. Switch to the DNS tab and then to the DNS Records subtab.
  4. Click Add New DNS Record.
  5. In the DNS Record Type section, in the DNS Record Type field select NAPTR from the drop-down list.
  6. In the DNS Record Properties section, fill in the following fields:

    • Domain: specify the domain name to which this resource record refers.
    • Order: specify the order in which to process the record. This parameter is used if the preference is not specified.
    • Preference: specify the record preference number. The lower the number, the higher the preference.
    • Flags: specify the flag. This field can have the following values:

      • A: if this flag is specified, it indicates a terminal lookup: the next lookup is to be for either an A, AAAA, or A6 record.
      • P: if this flag is specified, it indicates a non-terminal rule: the original request algorithm is to be modified according to the Regexp specified.
      • S: if this flag is specified, it indicates a terminal lookup; the next lookup is to be for SRV records.
      • U: if this flag is specified, it indicates a terminal lookup: the NAPTR result is an absolute URI that the application is to process.
    • Service: specify the services that are available down the given path or a particular protocol that is used to communicate with the server.

      Important: The protocol must be specified if the Flags value (U) signifies that the NAPTR is terminal.

    • Regexp: specify the regular expression that will be used to modify the original request.

      Notes:
      You cannot use this parameter together with Replacement because they are mutually exclusive.
      The regular expressions must not be used in a cumulative fashion: they should be applied only to the original string held by the client.

    • Replacement: specify the next NAME to query for NAPTR, SRV, or address records depending on the value entered in the Flags field. This MUST be a fully qualified domain-name.

      Note: You cannot use this parameter together with Regexp because they are mutually exclusive.

    • TTL: Time To Live. (optional) This parameter defines how long the record is stored in the DNS cache. If you want to set a TTL that differs from the default value, select Custom and enter the necessary time interval (in seconds) into the field.
  7. Click Finish. The DNS record is added to the specified domain.