Specifications
5-39
Cisco IOS Software Configuration Guide for Cisco Aironet Access Points
OL-5260-01
Chapter 5 Administering the Access Point
Configuring a System Name and Prompt
Setting Up DNS
Beginning in privileged EXEC mode, follow these steps to set up your access point to use the DNS:
If you use the access point IP address as its host name, the IP address is used and no DNS query occurs.
If you configure a host name that contains no periods (.), a period followed by the default domain name
is appended to the host name before the DNS query is made to map the name to an IP address. The default
domain name is the value set by the ip domain-name global configuration command. If there is a
period (.) in the host name, Cisco IOS software looks up the IP address without appending any default
domain name to the host name.
To remove a domain name, use the no ip domain-name name global configuration command. To remove
a name server address, use the no ip name-server server-address global configuration command. To
disable DNS on the access point, use the no ip domain-lookup global configuration command.
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
ip domain-name name Define a default domain name that the software uses to complete unqualified
host names (names without a dotted-decimal domain name).
Do not include the initial period that separates an unqualified name from the
domain name.
At boot time, no domain name is configured; however, if the access point
configuration comes from a BOOTP or Dynamic Host Configuration Protocol
(DHCP) server, then the default domain name might be set by the BOOTP or
DHCP server (if the servers were configured with this information).
Step 3
ip name-server server-address1
[server-address2 ...
server-address6]
Specify the address of one or more name servers to use for name and address
resolution.
You can specify up to six name servers. Separate each server address with a
space. The first server specified is the primary server. The access point sends
DNS queries to the primary server first. If that query fails, the backup servers
are queried.
Step 4
ip domain-lookup (Optional) Enable DNS-based host name-to-address translation on your access
point. This feature is enabled by default.
If your network devices require connectivity with devices in networks for which
you do not control name assignment, you can dynamically assign device names
that uniquely identify your devices by using the global Internet naming scheme
(DNS).
Step 5
end Return to privileged EXEC mode.
Step 6
show running-config Verify your entries.
Step 7
copy running-config
startup-config
(Optional) Save your entries in the configuration file.