<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<a class="moz-txt-link-freetext" href="http://www.zytrax.com/books/dns/ch7/hkpng.html#check-names">http://www.zytrax.com/books/dns/ch7/hkpng.html#check-names</a><br>
In named.conf using:<br>
<font color="#993300"><tt> check-names master
ignore;</tt><tt><br>
</tt><tt> check-names slave ignore;</tt><tt><br>
</tt></font>allows the underscore.<br>
<br>
Bill<br>
<br>
<div class="moz-cite-prefix">On 9/22/2016 4:26 PM,
<a class="moz-txt-link-abbreviated" href="mailto:durwin@mgtsciences.com">durwin@mgtsciences.com</a> wrote:<br>
</div>
<blockquote
cite="mid:OFB1B8510F.A6EFC01D-ON87258036.006FD522-87258036.007047CD@mgtsciences.com"
type="cite"><font face="sans-serif" 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</font>
<br>
<br>
<tt><font size="2">"dhcp-users"
<a class="moz-txt-link-rfc2396E" href="mailto:dhcp-users-bounces@lists.isc.org"><dhcp-users-bounces@lists.isc.org></a>
wrote on 09/22/2016 12:22:55 PM:<br>
<br>
> From: Rick Dicaire <a class="moz-txt-link-rfc2396E" href="mailto:kritek@gmail.com"><kritek@gmail.com></a></font></tt>
<br>
<tt><font size="2">> To: Users of ISC DHCP
<a class="moz-txt-link-rfc2396E" href="mailto:dhcp-users@lists.isc.org"><dhcp-users@lists.isc.org></a></font></tt>
<br>
<tt><font size="2">> Date: 09/22/2016 12:24 PM</font></tt>
<br>
<tt><font size="2">> Subject: Re: DHCP server to handle
hostname.</font></tt>
<br>
<tt><font size="2">> Sent by: "dhcp-users"
<a class="moz-txt-link-rfc2396E" href="mailto:dhcp-users-bounces@lists.isc.org"><dhcp-users-bounces@lists.isc.org></a></font></tt>
<br>
<tt><font size="2">> <br>
> Here's something I use when hosts don't send a hostname.</font></tt>
<br>
<tt><font size="2">> In global options:</font></tt>
<br>
<tt><font size="2">> <br>
> ddns-hostname = pick (option fqdn.hostname, option
host-name, concat<br>
> ("ddns-", binary-to-ascii (10, 8, "-", leased-address)));</font></tt>
<br>
<tt><font size="2">> option host-name = config-option
server.ddns-hostname;</font></tt>
<br>
<tt><font size="2">> <br>
> Resulting ddns hostname is
ddns-xxx-xxx-xxx-xxx.domain_name</font></tt>
<br>
<br>
<tt><font size="2">I'm going to have to remember this method.</font></tt>
<br>
<br>
<tt><font size="2">After digging deeper into the logs, I found
named
was complaining</font></tt>
<br>
<tt><font size="2">about the underscore in the name. The two
lines
*do* work, if you</font></tt>
<br>
<tt><font size="2">remove the underscore in hostname.</font></tt>
<br>
<br>
<tt><font size="2">option host-name "e2rb_004"; <br>
ddns-hostname "e2rb_004"; <br>
</font></tt>
<br>
<tt><font size="2">Change to.</font></tt>
<br>
<br>
<tt><font size="2">option host-name "e2rb004"; <br>
ddns-hostname "e2rb004"; <br>
</font></tt>
<br>
<br>
<tt><font size="2">Thank you.</font></tt>
<br>
<br>
<tt><font size="2">> <br>
> Edit to suit.</font></tt>
<br>
<tt><font size="2">> <br>
> On Thu, Sep 22, 2016 at 1:48 PM,
<a class="moz-txt-link-rfc2396E" href="mailto:durwin@mgtsciences.com"><durwin@mgtsciences.com></a> wrote:</font></tt>
<br>
<tt><font size="2">> 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* send
hostname. <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>
> <a class="moz-txt-link-abbreviated" href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>
> </font></tt><a moz-do-not-send="true"
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>
</font></tt>
<br>
<tt><font size="2">> <br>
> -- </font></tt>
<br>
<tt><font size="2">> aRDy Music and Rick Dicaire present:<br>
> </font></tt><a moz-do-not-send="true"
href="http://www.ardynet.com/"><tt><font size="2">http://www.ardynet.com</font></tt></a><tt><font
size="2"><br>
> </font></tt><a moz-do-not-send="true"
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>
> <a class="moz-txt-link-abbreviated" href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>
> </font></tt><a moz-do-not-send="true"
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
face="sans-serif" size="2"><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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
dhcp-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a>
<a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</a></pre>
</blockquote>
<br>
</body>
</html>