cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
10438
Views
0
Helpful
12
Replies

AP register its hostname with DNS server?

andypenning
Level 4
Level 4

Is it possible for a lightweight access point to dynamically register with a DNS server after it gets assigned an IP addresss from DHCP (create and update an A record with current IP address)? I would like to be able to monitor the Access Points using the hostname, without having to statically assign an IP address or use DHCP reservations.

1 Accepted Solution

Accepted Solutions

George Stefanick
VIP Alumni
VIP Alumni

Yes, they do. I just pinged a bunch of mine by host name. Once DHCP gives an address it learns the host name just like a PC and DNS is updated. There is nothing special you have to do.

"Satisfaction does not come from knowing the solution, it comes from knowing why." - Rosalind Franklin
___________________________________________________________

View solution in original post

12 Replies 12

George Stefanick
VIP Alumni
VIP Alumni

Yes, they do. I just pinged a bunch of mine by host name. Once DHCP gives an address it learns the host name just like a PC and DNS is updated. There is nothing special you have to do.

"Satisfaction does not come from knowing the solution, it comes from knowing why." - Rosalind Franklin
___________________________________________________________

Interesting. I see the host names in DHCP but nothing in DNS. I'll see if the server team needs to change something.

thanks for the reply!

Yea, let me clarifiy. There is nothing SPEICAL on the WLC side. This is a DHCP server thang ... . Can you ping your device by host name, assuming the wireless APs are using the same DHCP server?

"Satisfaction does not come from knowing the solution, it comes from knowing why." - Rosalind Franklin
___________________________________________________________

no, I can't - thats the reason why I'm asking! . there are no DNS records for the APs. Yes they are using the same DHCP server. Windows 2008 server Active Directory-integrated DHCP and DNS. It appears that DHCP is not updating DNS for the APs.

Thanks for rating the post. Can you mark it anwsered ? It will help other should they have the same question.

"Satisfaction does not come from knowing the solution, it comes from knowing why." - Rosalind Franklin
___________________________________________________________

cburton01
Level 1
Level 1

I am experiencing the same in our environment with no answer. MS AD integrated DHCP & DNS with all devices obtaining IP leases and DNS records created properly but not for Cisco AP's. Even the Cisco phones have DNS records but not the AP's.

Here is the crazy part. If i ping one of my AP hostnames for example "AP649e.f3b3.5b90" i recieve a response from the Internet? The response is 67.215.65.132. How is that even possible?

Is that why my DNS server is not creating DNS records becasue that hostname exists on the Internet?

Blending work and play

Do you have the DHCP configured to update the A record even if hte client doesn't? (not the exact syntax)

HTH,
Steve

-----------------------------------------
Please remember to rate useful posts, and mark questions as answered

HTH,
Steve

------------------------------------------------------------------------------------------------
Please remember to rate useful posts, and mark questions as answered

I think so. Our DNS allows all updates, even unsecure.

DHCP is setup to update the DNS servers wiht A and PTR for all clients. Settings are to "Always dynamically update DNS A and PTR records" also "Dynamically update DNS A and PTR records for DHCP clients that do not request updates"

Charles

Blending work and play

Charles, in my case it was a problem with the trust relationship, at least that's what the server team told me! There were a ton of "un-applied" DNS updates from DHCP, not just for the APs. They were able to fix it by opening up a case with Microsoft. hth

Andrew

It appears in my case that DNS and DHCP appear to be functioning properly.We are getting DNS records for all types of clients like iPhones, printers and android devices.

I can see that the PTR records are appearing but not the forward records.

The problem appears to be that the AP is not using the domain suffix when it is requesting to register with DNS. Its only sending the hostname according to the DNS audit log. I guess i am going to have to open a TAC Case if no one has any other ideas?

Charles

Blending work and play

I just want to confirm, that this is indeed the actual problem and that the answer, marked correct in this thread, is wrong.

 

I took a pcap on our DHCP Server. As you can see in the screenshots below

 

1) the DHCP Server offers option 15 including the domain name

2) the AP does not request the option 15, but only option 12 (hostname)

 

Xnip2021-12-22_12-48-02.pngXnip2021-12-22_12-48-48.png

 

 

thus, the DNS is not updated.  the AP will probably answer to ping requests on it's hostname, but that would only work within the same subnet and is not done by dns, rather by netbios i guess.

 

 

Jarvis IT
Level 1
Level 1

Resurrecting an old post here, but also ensure you don't have a "." in the AP name. The decimal point was certainly confusing my forward record on my 2012 DHCP server, I would get a reverse lookup host name but no A record in the Forward Lookup Zone. It was a bit of an face palm moment.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: