Product Documentation

Creating Address Records for a Domain Name

Aug 31, 2016

Address (A) records are DNS records that map a domain name to an IPv4 address.

You cannot delete Address records for a host participating in global server load balancing (GSLB). However, the NetScaler deletes Address records added for GSLB domains when you unbind the domain from a GSLB virtual server. Only user-configured records can be deleted manually. You cannot delete a record for a host referenced by records such as NS, MX, or CNAME.

To add an Address record by using the command line interface

At the command prompt, type the following commands to add an Address record and verify the configuration:

  • add dns addRec <hostName> <IPAddress> [-TTL <secs>]
  • show dns addRec <hostName>

Example

 
> add dns addRec ns.example.com 192.0.2.0 
 Done 
> show dns addRec ns.example.com 
1)      Host Name : ns.example.com 
        Record Type : ADNS                      TTL : 5 secs 
        IP Address : 192.0.2.0 
 Done 
> 
To remove an Address record and all of the IP addresses associated with the domain name, type the rm dns addRec command and the domain name for which the Address record is configured. To remove only a subset of the IP addresses associated with the domain name in an Address record, type the rm dns addRec command, the domain name for which the Address record is configured, and the IP addresses that you want to remove.

To add an Address record by using the configuration utility

Navigate to Traffic Management > DNS > Records > Address Records and create an Address record.