Skip to content

dns nsRec

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

add | rm | show

add dns nsRec

Creates a name server record for the specified domain.

Synopsys

add dns nsRec <domain> <nameServer> [-TTL <secs>]

Arguments

domain

Domain name.

nameServer

Host name of the name server to add to the domain.

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

rm dns nsRec

Removes the specified name server record from the specified domain.

Synopsys

rm dns nsRec <domain> <nameServer>

Arguments

domain

Domain name.

nameServer

Name server to remove.

show dns nsRec

Displays the name server records for the specified domain. If no domain name is specified, all configured name server records are shown.

Synopsys

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

Arguments

domain

Domain name.

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

nameServer

Host name of the name server to add to the domain.

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

Record type.

devno

count

stateflag

Was this article helpful?