Create address records for a domain name
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.
Add an Address record by using the CLI
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 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 following:
-
rm dns addReccommand -
The domain name for which the Address record is configured
-
The IP addresses that you want to remove
Add an Address record by using the GUI
Navigate to Traffic Management > DNS > Records > Address Records and create an Address record.