Solved it. I just made A record in the dns and configured the domain-name and dns options in the DHCP. And they all came back to me on the controller. I thought while converting the AP, the cont address stays on the ap.
Sorry guys and thanks for your help.