DHCP server to handle hostname.

durwin at mgtsciences.com durwin at mgtsciences.com
Thu Sep 22 17:48:58 UTC 2016

I have some embedded devices with minimal OS.  I am not sure the DHCP 
client has compiled ability to send hostname.  I have seen this used while 
searching for help on this subject.

host e2rb_004 {
        option host-name "e2rb_004";
        ddns-hostname "e2rb_004";
        hardware ethernet 00:10:60:31:b2:a0;

This does not add the hostname in DNS.  My configuration does work as a 
normal DDNS.  Any machine which sends it's hostname when requesting an IP 
*does* get added into DNS records.  What I would like to do is to handle 
those embedded devices which do *not* send hostname.

Here is the DHCPD options.

=== dhcpd.conf ===

ddns-update-style interim;
ddns-updates on;
ddns-domainname "mydomain.com";
ddns-rev-domainname "in-addr.arpa.";
update-static-leases on;
ignore client-updates;
one-lease-per-client true;

# WPAD definition
option wpad code 252 = text;

    algorithm hmac-md5;
    secret "mysecret";

zone mydomain.com. {

zone 93.23.172.in-addr.arpa. {

subnet netmask {
    option routers;
    option wpad "\n\000";
    option subnet-mask;
    option domain-name      "mydomain.com";
    option domain-name-servers,,;
    option time-offset      -25200; # Mountain Standard Time
    range dynamic-bootp;
    default-lease-time 57600;
    max-lease-time 57600;
    min-lease-time 57600;
    ddns-domainname "mydomain.com";

Any advice is appreciated.  Thank you.

Durwin F. De La Rue
Management Sciences, Inc.
6022 Constitution Ave. NE
Albuquerque, NM  87110
Phone (505) 255-8611

This email message and any attachments are for the sole use of the 
intended recipient(s) and may contain proprietary and/or confidential 
information which may be privileged or otherwise protected from 
disclosure. Any unauthorized review, use, disclosure or distribution is 
prohibited. If you are not the intended recipient(s), please contact the 
sender by reply email and destroy the original message and any copies of 
the message as well as any attachments to the original message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20160922/c4f21219/attachment.html>

More information about the dhcp-users mailing list