<tt><font size=2>"dhcp-users" <dhcp-users-bounces@lists.isc.org>
wrote on 09/23/2016 02:20:33 PM:<br>
<br>
> From: Bill Shirley <Bill@Henagar.PolymerIndustries.biz></font></tt>
<br><tt><font size=2>> To: dhcp-users@lists.isc.org</font></tt>
<br><tt><font size=2>> Date: 09/23/2016 02:20 PM</font></tt>
<br><tt><font size=2>> Subject: Re: [SOLVED] DHCP server to handle hostname.</font></tt>
<br><tt><font size=2>> Sent by: "dhcp-users" <dhcp-users-bounces@lists.isc.org></font></tt>
<br><tt><font size=2>> <br>
> </font></tt><a href="http://www.zytrax.com/books/dns/ch7/hkpng.html#check-names"><tt><font size=2>http://www.zytrax.com/books/dns/ch7/hkpng.html#check-names</font></tt></a><tt><font size=2><br>
> In named.conf using:<br>
>         check-names            
master ignore;<br>
>         check-names            
slave ignore;<br>
> allows the underscore.<br>
> <br>
> Bill</font></tt>
<br>
<br><tt><font size=2>Thank you  :)  This I'm going to add to
my knowledge base.</font></tt>
<br><tt><font size=2>Along with Simon's information.</font></tt>
<br>
<br><tt><font size=2>Durwin<br>
</font></tt>
<br><tt><font size=2>> On 9/22/2016 4:26 PM, durwin@mgtsciences.com
wrote:</font></tt>
<br><tt><font size=2>> <br>
> Durwin F. De La Rue<br>
> Management Sciences, Inc.<br>
> 6022 Constitution Ave. NE<br>
> Albuquerque, NM  87110<br>
> Phone (505) 255-8611 <br>
> <br>
> "dhcp-users" <dhcp-users-bounces@lists.isc.org> wrote
on 09/22/2016 <br>
> 12:22:55 PM:<br>
> <br>
> > From: Rick Dicaire <kritek@gmail.com> <br>
> > To: Users of ISC DHCP <dhcp-users@lists.isc.org> <br>
> > Date: 09/22/2016 12:24 PM <br>
> > Subject: Re: DHCP server to handle hostname. <br>
> > Sent by: "dhcp-users" <dhcp-users-bounces@lists.isc.org>
<br>
> > <br>
> > Here's something I use when hosts don't send a hostname. <br>
> > In global options: <br>
> > <br>
> > ddns-hostname = pick (option fqdn.hostname, option host-name,
concat<br>
> > ("ddns-", binary-to-ascii (10, 8, "-", leased-address)));
<br>
> > option host-name = config-option server.ddns-hostname; <br>
> > <br>
> > Resulting ddns hostname is ddns-xxx-xxx-xxx-xxx.domain_name <br>
> <br>
> I'm going to have to remember this method. <br>
> <br>
> After digging deeper into the logs, I found named was complaining
<br>
> about the underscore in the name.  The two lines *do* work, if
you <br>
> remove the underscore in hostname. <br>
> <br>
> option host-name "e2rb_004"; <br>
> ddns-hostname "e2rb_004"; <br>
> <br>
> Change to. <br>
> <br>
> option host-name "e2rb004"; <br>
> ddns-hostname "e2rb004"; <br>
> <br>
> <br>
> Thank you. <br>
> <br>
> > <br>
> > Edit to suit. <br>
> > <br>
> > On Thu, Sep 22, 2016 at 1:48 PM, <durwin@mgtsciences.com>
wrote: <br>
> > I have some embedded devices with minimal OS.  I am not
sure the <br>
> > DHCP client has compiled ability to send hostname.  I have
seen this<br>
> > used while searching for help on this subject. <br>
> > <br>
> > host e2rb_004 { <br>
> >         option host-name "e2rb_004";
<br>
> >         ddns-hostname "e2rb_004";
<br>
> >         hardware ethernet 00:10:60:31:b2:a0;
<br>
> >         fixed-address 172.23.93.38; <br>
> > } <br>
> > <br>
> > <br>
> > This does not add the hostname in DNS.  My configuration
does work <br>
> > as a normal DDNS.  Any machine which sends it's hostname
when <br>
> > requesting an IP *does* get added into DNS records.  What
I would <br>
> > like to do is to handle those embedded devices which do *not*
sendhostname. <br>
> > <br>
> > Here is the DHCPD options. <br>
> > <br>
> > <br>
> > === dhcpd.conf === <br>
> > authoritative; <br>
> > <br>
> > ddns-update-style interim; <br>
> > ddns-updates on; <br>
> > ddns-domainname "mydomain.com"; <br>
> > ddns-rev-domainname "in-addr.arpa."; <br>
> > update-static-leases on; <br>
> > ignore client-updates; <br>
> > one-lease-per-client true; <br>
> > <br>
> > # WPAD definition <br>
> > option wpad code 252 = text; <br>
> > <br>
> > key MSI_DHCPD_UPDATER { <br>
> >     algorithm hmac-md5; <br>
> >     secret "mysecret"; <br>
> > }; <br>
> > <br>
> > zone mydomain.com. { <br>
> >     primary 127.0.0.1; <br>
> >     key MSI_DHCPD_UPDATER; <br>
> > } <br>
> > <br>
> > zone 93.23.172.in-addr.arpa. { <br>
> >     primary 127.0.0.1; <br>
> >     key MSI_DHCPD_UPDATER; <br>
> > } <br>
> > <br>
> > subnet 172.23.93.0 netmask 255.255.255.0 { <br>
> >     option routers          172.23.93.1;
<br>
> >     option wpad "\n\000"; <br>
> >     option subnet-mask      255.255.255.0;
<br>
> >     option domain-name      "mydomain.com";
<br>
> >     option domain-name-servers  172.23.93.3,172.23.93.9,198.59.115.2;
<br>
> >     option time-offset      -25200;
# Mountain Standard Time <br>
> >     range dynamic-bootp 172.23.93.95 172.23.93.249;
<br>
> >     default-lease-time 57600; <br>
> >     max-lease-time 57600; <br>
> >     min-lease-time 57600; <br>
> >     ddns-domainname "mydomain.com"; <br>
> > } <br>
> > <br>
> > <br>
> > Any advice is appreciated.  Thank you. <br>
> > <br>
> > <br>
> > <br>
> > Durwin F. De La Rue<br>
> > Management Sciences, Inc.<br>
> > 6022 Constitution Ave. NE<br>
> > Albuquerque, NM  87110<br>
> > Phone (505) 255-8611<br>
> > <br>
> > <br>
> > This email message and any attachments are for the sole use of
the <br>
> > intended recipient(s) and may contain proprietary and/or <br>
> > confidential information which may be privileged or otherwise
<br>
> > protected from disclosure. Any unauthorized review, use, disclosure
<br>
> > or distribution is prohibited. If you are not the intended recipient<br>
> > (s), please contact the sender by reply email and destroy the
<br>
> > original message and any copies of the message as well as any
<br>
> > attachments to the original message.<br>
> > _______________________________________________<br>
> > dhcp-users mailing list<br>
> > dhcp-users@lists.isc.org<br>
> > </font></tt><a href="https://lists.isc.org/mailman/listinfo/dhcp-users"><tt><font size=2>https://lists.isc.org/mailman/listinfo/dhcp-users</font></tt></a><tt><font size=2>
<br>
> > <br>
> <br>
> > <br>
> > -- <br>
> > aRDy Music and Rick Dicaire present:<br>
> > </font></tt><a href=http://www.ardynet.com/><tt><font size=2>http://www.ardynet.com</font></tt></a><tt><font size=2><br>
> > </font></tt><a href=http://www.ardynet.com:9000/ardymusic.ogg.m3u><tt><font size=2>http://www.ardynet.com:9000/ardymusic.ogg.m3u</font></tt></a><tt><font size=2><br>
> > _______________________________________________<br>
> > dhcp-users mailing list<br>
> > dhcp-users@lists.isc.org<br>
> > </font></tt><a href="https://lists.isc.org/mailman/listinfo/dhcp-users"><tt><font size=2>https://lists.isc.org/mailman/listinfo/dhcp-users</font></tt></a><tt><font size=2><br>
> <br>
> <br>
> This email message and any attachments are for the sole use of the
<br>
> intended recipient(s) and may contain proprietary and/or <br>
> confidential information which may be privileged or otherwise <br>
> protected from disclosure. Any unauthorized review, use, disclosure
<br>
> or distribution is prohibited. If you are not the intended recipient<br>
> (s), please contact the sender by reply email and destroy the <br>
> original message and any copies of the message as well as any <br>
> attachments to the original message. <br>
</font></tt>
<br><tt><font size=2>> _______________________________________________<br>
> dhcp-users mailing list<br>
> dhcp-users@lists.isc.org<br>
> </font></tt><a href="https://lists.isc.org/mailman/listinfo/dhcp-users"><tt><font size=2>https://lists.isc.org/mailman/listinfo/dhcp-users</font></tt></a>
<br><tt><font size=2>> _______________________________________________<br>
> dhcp-users mailing list<br>
> dhcp-users@lists.isc.org<br>
> </font></tt><a href="https://lists.isc.org/mailman/listinfo/dhcp-users"><tt><font size=2>https://lists.isc.org/mailman/listinfo/dhcp-users</font></tt></a><font size=2 face="sans-serif"><br>
<br>
<br>
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.</font>