Product Documentation

dns naptrRec

Sep 12, 2016

The following operations can be performed on "dns naptrRec":

add | rm | show

add dns naptrRec

Creates an NAPTR record. Each resource record is stored with a unique, internally generated record ID, which you can view and use to delete the record.

Synopsys

add dns naptrRec <domain> <order> <preference> [-flags <string>] [-services <string>] (-regexp <expression> | -replacement <string>) [-TTL <secs>]

Arguments

domain

Name of the domain for the NAPTR record.

order

An integer specifying the order in which the NAPTR records MUST be processed in order to accurately represent the ordered list of Rules. The ordering is from lowest to highest

Minimum value: 0

Maximum value: 65535

preference

An integer specifying the preference of this NAPTR among NAPTR records having same order. lower the number, higher the preference.

Minimum value: 0

Maximum value: 65535

flags

flags for this NAPTR.

services

Service Parameters applicable to this delegation path.

regexp

The regular expression, that specifies the substitution expression for this NAPTR

replacement

The replacement domain name for this NAPTR.

TTL

Time to Live (TTL), in seconds, for the record. TTL is the time for which the record must be cached by DNS proxies. The specified TTL is applied to all the resource records that are of the same record type and belong to the specified domain name. For example, if you add an address record, with a TTL of 36000, to the domain name example.com, the TTLs of all the address records of example.com are changed to 36000. If the TTL is not specified, the NetScaler appliance uses either the DNS zone's minimum TTL or, if the SOA record is not available on the appliance, the default value of 3600.

Default value: 3600

Maximum value: 2147483647

Example

TBD

rm dns naptrRec

Removes the specified NAPTR record from the specified domain.

Synopsys

rm dns naptrRec <domain> ((<order> <preference> [-flags <string>] [-services <string>] (-regexp <expression> | -replacement <string>) ) | -recordId <positive_integer>@)

Arguments

domain

Name of the domain for the NAPTR record.

order

An integer specifying the order in which the NAPTR records MUST be processed in order to accurately represent the ordered list of Rules. The ordering is from lowest to highest

Minimum value: 0

Maximum value: 65535

recordId

Unique, internally generated record ID. View the details of the naptr record to obtain its record ID. Records can be removed by either specifying the domain name and record id OR by specifying

domain name and all other naptr record attributes as was supplied during the add command.

Minimum value: 1

Maximum value: 65535

preference

An integer specifying the preference of this NAPTR among NAPTR records having same order. lower the number, higher the preference.

Minimum value: 0

Maximum value: 65535

flags

flags for this NAPTR.

services

Service Parameters applicable to this delegation path.

regexp

The regular expression, that specifies the substitution expression for this NAPTR

replacement

The replacement domain name for this NAPTR.

Example

 TBD 

show dns naptrRec

Displays NAPTR records owned by the specified domain. If no domain name is specified, all configured NAPTR records are shown.

Synopsys

show dns naptrRec [<domain> | -type <type>]

Arguments

domain

Name of the domain for the NAPTR record.

type

Type of records to display. Available settings function as follows:

* ADNS - Display all authoritative address records.

* PROXY - Display all proxy address records.

* ALL - Display all address records.

Possible values: ALL, ADNS, PROXY

Default value: ADNS

Outputs

order

An integer specifying the order in which the NAPTR records MUST be processed in order to accurately represent the ordered list of Rules. The ordering is from lowest to highest

preference

An integer specifying the preference of this NAPTR among NAPTR records having same order. lower the number, higher the preference.

flags

flags for this NAPTR.

services

Service Parameters applicable to this delegation path.

regexp

The regular expression, that specifies the substitution expression for this NAPTR

replacement

The replacement domain name for this NAPTR.

TTL

Time to Live (TTL), in seconds, for the record. TTL is the time for which the record must be cached by DNS proxies. The specified TTL is applied to all the resource records that are of the same record type and belong to the specified domain name. For example, if you add an address record, with a TTL of 36000, to the domain name example.com, the TTLs of all the address records of example.com are changed to 36000. If the TTL is not specified, the NetScaler appliance uses either the DNS zone's minimum TTL or, if the SOA record is not available on the appliance, the default value of 3600.

recordId

authType

Authentication type.

vServerName

Virtual server name.

devno

count

stateflag

Example

show dns naptrRec spf.m.test. show dns naptrRec