The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This chapter explains how to configure hosts in DNS zones.
You can manage the resource records (RRs) for a host by configuring the host rather than the individual RRs. When you define a host, the DNS server automatically creates an Address (A) RR in IPv4, or an AAAA RR in IPv6, for each address you specify. If you specify one or more aliases for the host, the server also creates a Canonical Name (CNAME) RR for each alias. You can also have the server create a Pointer (PTR) RR for the host in the reverse zone for the host, if the reverse zone exists.
To create A RRs, alias RRs, and PTR RRs for existing reverse zones in a single operation, use zone name addHost hostname address alias for each host. To list the created zones, use zone name listHosts.
You add additional RRs for the host based on the dns edit mode you chose, either staged or synchronous. For details, see Adding Resource Record to Zone.
Reload the DNS server if you want these RRs to become active server RRs.
For example, to add additional CNAME RRs, add the alias hostname in the Name field under the Resource Records tab of the List/Add Forward Zones page, choose CNAME from the Type drop-down list, add the canonical name of the host in the Data field, then click Add Resource Record. Note that the DNS specification does not allow a CNAME RR with the same name as that of another RR.
For an MX RR, add the origin hostname in the Name field; choose MX from the Type drop-down list; add the integer preference value, a space, and the domain name of the mail exchanger for the origin host in the Data field; then click Add Resource Record. These entries should appear in the list at the bottom of the page.
To create a CNAME record, use zone name addRR alias CNAME canonical for protected RRs or zone name addDNSRR alias CNAME canonical for unprotected RRs. To create an MX record, use zone name addRR hostname MX preference mxname for protected RRs or zone name addDNSRR hostname MX preference mxname for unprotected RRs.
Editing a host involves:
Step 1 | From the
Design menu,
choose
Hosts
under the
Auth
DNS
submenu. This opens the List/Add Hosts for Zone page.
If you have multiple zones configured, select the zone from the list of zones in the Hosts pane on the left. |
Step 2 | Click the hostname to add additional IP addresses or aliases, and click Save. |
Step 3 | To modify the RRs, click the Edit RRs button to open the Edit View RR List page. |
To edit the host, you must remove and reenter its RRs by using zone name removeRR name type data or zone name removeDNSRR name type data, then zone name addRR name ttl class type data or zone name addDNSRR name ttl type data.
Removing a host removes all A, CNAME, and PTR RRs for that host.
On the List/Add Hosts in Zone page (see Editing Hosts for the possible ways to get there), click the Delete icon next to the host you want to remove, then confirm the deletion.
Remove the host by using zone name removeHost, then re-add it by using zone name addHost.