Discover WLC by DNS.
It’s possible to discover the WLC by using a DNS server.
During startup the WLC is looking for : CISCO-LWAPP-CONTROLLER
First of all, we create a A record in our DNS server.
This should be enough to have this feature working.
If you don’t specify a domain-name at the DHCP scope, the LWAPP is first looking for :
CISCO-LWAPP-CONTROLLER (Without any suffix)
and if nothing is found, it tries to resolve :
ip dhcp pool VLAN22
network 192.168.22.0 255.255.255.0
option 150 ip 192.168.11.1
When we debug the AP we’ll see :
%LWAPP-3-CLIENTEVENTLOG: Performing DNS resolution for CISCO-LWAPP-CONTROLLER.homelab.uk
%LWAPP-3-CLIENTEVENTLOG: Controller address 192.168.5.100 obtained through DNS