Skip to content

dns ptrRec

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

add | rm | show

add dns ptrRec

Creates a pointer (PTR) record for the specified reverse domain name.

Synopsys

add dns ptrRec <reverseDomain> <domain> ... [-TTL <secs>]

Arguments

reverseDomain

Reversed domain name representation of the IPv4 or IPv6 address for which to create the PTR record. Use the "in-addr.arpa." suffix for IPv4 addresses and the "ip6.arpa." suffix for IPv6 addresses.

domain

Domain name for which to configure reverse mapping.

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

add dns ptrrec 1.1.1.in-addr.arpa. abc.com

rm dns ptrRec

Removes a pointer (PTR) record for the specified domain name and reverse domain name.

Synopsys

rm dns ptrRec <reverseDomain> [<domain> ...]

Arguments

reverseDomain

Reverse domain name of the PTR record.

domain

Domain name for which to remove reverse mapping.

Example

rm dns ptrrec 1.1.1.1.in-addr.arpa. ptr.com

show dns ptrRec

Displays the pointer (PTR) record for the specified reverse domain name and domain name.

Synopsys

show dns ptrRec [<reverseDomain> | -type <type>]

Arguments

reverseDomain

Reversed domain name representation of the IPv4 or IPv6 address for which to create the PTR record. Use the "in-addr.arpa." suffix for IPv4 addresses and the "ip6.arpa." suffix for IPv6 addresses.

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

Outputs

domain

Domain name for which to configure reverse mapping.

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.

authType

Authentication type.

devno

count

stateflag

Was this article helpful?