DHCP Server not using Declared Names

Blair Copeland copeland at unt.edu
Thu May 18 20:57:11 UTC 2006


I cannot get the dhcpd config file to override the host provided names for dynamic leases.

I have upgraded to the DHCP Server v3.0.4rc1.

I get the name to go into the DDNS server fine.

   May 18 15:50:00 ns0005 dhcpd: Added new forward map from nt106223.ddns.unt.edu to 129.120.17.174
   May 18 15:50:00 ns0005 dhcpd: added reverse map from 174.17.120.129.in-addr.arpa. to nt106223.ddns.unt.edu

But the name nt106223 SHOULD BE ambulance....

--------------------------------------------------------------------------------------

I want to use my DHCP server to force a specific name for each defined host.

My entry looks like

host ambulance.ddns.unt.edu {
      fixed-address 129.120.223.230;
      ddns-hostname "ambulance";
      hardware ethernet 00:0D:56:E0:82:AE;
      subclass "secure-hosts" 1:00:0D:56:E0:82:AE;
      option domain-name "ddns.unt.edu";
}

and my subclass looks like

class "secure-hosts" {
   match pick-first-value (option dhcp-client-identifier, hardware);
   ddns-updates on;
   get-lease-hostnames off;
   use-host-decl-names on;
   ddns-fwd-name;
}

Any suggestions on what I SHOULD be configuring for the DHCP server to actually use the "use-host-decl-names on"???

Blair Copeland                                        Ph# (940) 565-4180
Communications Manager                                FAX (940) 565-4060
Network Operations and Services	                      TTY (800) RELAY TX
Data Communications                                   noc.unt.edu/~copeland
Computing and Information Technology Center           copeland at unt.edu


More information about the dhcp-users mailing list