How to find hostname

Bill Shirley Bill at Henagar.PolymerIndustries.biz
Wed Sep 17 23:59:35 UTC 2014


I'm having trouble figuring out where this device gets its name.  My log statement:
on commit {
         if static { set is-static = " --> STATIC"; } else { set is-static = "";}
         log (   info,
                 concat (
                         "Host:", pick-first-value(option fqdn.hostname, option host-name, ddns-hostname, "(none)")
                         ,"  VendorId:", pick-first-value(option vendor-class-identifier, "(none)")
#                       ,"  UserClass:", pick-first-value(option user-class, "(none)")
                         ,"  MemberOf:", pick-first-value(member_of, "(none)")
                         ,"  PoolType:", pick-first-value(pool-type, "(none)")
                         ,"  Lease:", pick-first-value(binary-to-ascii(10,32,"",encode-int(lease-time,32)), "(none)")
                         , is-static
                 )
         );
}

And from my log file you can see a 'Host:(none)':
Sep 17 18:41:22 apinetstore dhcpd: fancy bits in fqdn option
Sep 17 18:41:22 apinetstore dhcpd: DHCPDISCOVER from 00:20:4a:f3:c5:a7 (CF3C5A7) via lan10
Sep 17 18:41:23 apinetstore dhcpd: DHCPOFFER on 10.98.1.72 to 00:20:4a:f3:c5:a7 via lan10
Sep 17 18:41:23 apinetstore dhcpd: fancy bits in fqdn option
Sep 17 18:41:23 apinetstore dhcpd: Host:(none)  VendorId:(none) MemberOf:10.Microsoft  PoolType:10.Microsoft  Lease:21600
Sep 17 18:41:23 apinetstore dhcpd: DHCPREQUEST for 10.98.1.72 (10.96.0.9) from 00:20:4a:f3:c5:a7 via lan10
Sep 17 18:41:23 apinetstore dhcpd: DHCPACK on 10.98.1.72 to 00:20:4a:f3:c5:a7 via lan10

Where does the host name CF3C5A7 come from?

TIA,
Bill

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20140917/925dba59/attachment.html>


More information about the dhcp-users mailing list