I am a software developer and I am working on the develpoment of a network device (SIP phone). When it boots up, I want it to register a domain name on our network so that a customer can easily browse to the web interface. I have talked with the company that is developing the software for the device, and they have in other projects provided the host name in DHCP Option 12 and then that somehow (magically) gets registered in DNS with the IP address returned from the DHCP request.
So I have a test build of the software modification that includes the device setting DHCP Option 12 with a host name based on the MAC address (e.g. SIP100_0026FDF00057). However, I can not query that hostname from my Windows machine. The DHCP and DNS servers are on Windows Server.
Is there some special configuration on the DHCP and/or DNS to make this registration happen?
Answer
Windows systems that are members of a domain can automatically register their hostname in the domain DNS; but this can be done only by Windows systems.
Microsoft DHCP can be configured to register DNS names on behalf of those clients which can't do that by themselves (like Linux ones); this is what should be done if you want your device to automatically appear in your DNS. You can configure this on the DHCP server's properties.
Be careful, though, as this will mean any client will get registered in the DNS if a DHCP lease is handed to it.
More info here.
No comments:
Post a Comment