DHCPv6 leases hostname

Kraishak Mahtha <[email protected]> Mon, 9 Sep 2024 15:47:35 +0530
Newsgroups gmane.network.dhcp.isc.dhcp-client
Message-ID <CADDat8754pD2PzQz7e+N2QVU0qCYAQX+WS5LFRFeCNsLReNKQA__47386.2109052547$1725877084$gmane$org@mail.gmail.com>
--===============0189927223670461060==
Content-Type: multipart/alternative; boundary="00000000000088056c0621ad1149"

--00000000000088056c0621ad1149
Content-Type: text/plain; charset="UTF-8"

Hi all,

I am configuring the DHCPv6 setup on my local systems and can obtain an
IPv6 address from my DHCP appliance. However, I am encountering an issue
where the lease file does not display the hostname or DUID of the DHCP
clients.

Sample lease file.

cat /var/db/dhcpd6.leases
# The format of this file is documented in the dhcpd.leases(5) manual
page.
# This lease file was written by isc-dhcp-4.4.3-P1


                                                                     #
authoring-byte-order entry is generated, DO NOT DELETE
authoring-byte-order little-endian;



server-duid "\000\001\000\001-\351\270\267\000PV\200\350\337";



server-duid "\000\001\000\001-\351\270\267\000PV\200\350\337";



ia-na "\000\000\000\000\000\001\000\001-\225\271\351`>_=b\034" {
  cltt 1 2024/09/09 09:35:01;
  iaaddr xxxx:470:edb5:200::1cf {  //Masked
    binding state active;
    preferred-life 27000;
    max-life 43200;
    ends 1 2024/09/09 21:35:01;
  }
}



ia-na "#\316\364\010\000\001\000\001+\204\373O\364\316#\310\033g" {
  cltt 1 2024/09/09 09:49:48;
  iaaddr xxxx:470:edb5:200::1c4 {  //Masked
    binding state active;
    preferred-life 27000;
    max-life 43200;
    ends 1 2024/09/09 21:49:48;
  }
}

I have explored various configuration parameters and compile-time options
to enable the display of hostnames and DUIDs in the lease file, but none
have proven effective. I would appreciate assistance from anyone who has
experience with this or has any insights into resolving the issue.

Thanks In advance
Kraishak

--00000000000088056c0621ad1149
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi all,=C2=A0<div><br></div><div>I am configuring the DHCP=
v6 setup on my local systems and can obtain an IPv6 address from my DHCP ap=
pliance. However, I am encountering an issue where the lease file does not =
display the hostname or DUID of the DHCP clients.</div><div><br></div><div>=
Sample lease file.</div><div><pre><div style=3D"color:rgb(202,202,202);back=
ground-color:rgba(0,0,0,0);font-family:Menlo,monospace-fallback,&quot;monos=
pace&quot;;font-size:14px"><div>cat /var/db/dhcpd6.leases                  =
                                                                           =
                                                                 </div><div=
># The format of this file is documented in the dhcpd.leases(5) manual page=
.                                                                          =
                                                              </div><div># =
This lease file was written by isc-dhcp-4.4.3-P1                           =
                                                                           =
                                                           </div><div>     =
                                                                           =
                                                                           =
                                                        </div><div># author=
ing-byte-order entry is generated, DO NOT DELETE                           =
                                                                           =
                                                     </div><div>authoring-b=
yte-order little-endian;                                                   =
                                                                           =
                                                  </div><div>              =
                                                                           =
                                                                           =
                                               </div><div>server-duid &quot=
;\000\001\000\001-\351\270\267\000PV\200\350\337&quot;;                    =
                                                                           =
                                                      </div><div>          =
                                                                           =
                                                                           =
                                                   </div><div>server-duid &=
quot;\000\001\000\001-\351\270\267\000PV\200\350\337&quot;;                =
                                                                           =
                                                          </div><div>      =
                                                                           =
                                                                           =
                                                       </div><div>ia-na &qu=
ot;\000\000\000\000\000\001\000\001-\225\271\351`&gt;_=3Db\034&quot; {     =
                                                                           =
                                                                   </div><d=
iv>  cltt 1 2024/09/09 09:35:01;                                           =
                                                                           =
                                                                </div><div>=
  iaaddr xxxx:470:edb5:200::1cf { <span style=3D"background-color:rgba(0,0,=
0,0)"> //Masked </span><span style=3D"background-color:rgba(0,0,0,0)">     =
                                                                           =
                                                                           =
                      </span></div><div>    binding state active;          =
                                                                           =
                                                                           =
                          </div><div>    preferred-life 27000;             =
                                                                           =
                                                                           =
                       </div><div>    max-life 43200;                      =
                                                                           =
                                                                           =
                    </div><div>    ends 1 2024/09/09 21:35:01;             =
                                                                           =
                                                                           =
                 </div><div>  }                                            =
                                                                           =
                                                                           =
              </div><div>}                                                 =
                                                                           =
                                                                           =
           </div><div>                                                     =
                                                                           =
                                                                           =
        </div><div>ia-na &quot;#\316\364\010\000\001\000\001+\204\373O\364\=
316#\310\033g&quot; {                                                      =
                                                                           =
               </div><div>  cltt 1 2024/09/09 09:49:48;                    =
                                                                           =
                                                                           =
            </div><div>  iaaddr xxxx:470:edb5:200::1c4 {  //Masked         =
                                                                           =
                                                                           =
                 </div><div>    binding state active;                      =
                                                                           =
                                                                           =
              </div><div>    preferred-life 27000;                         =
                                                                           =
                                                                           =
           </div><div>    max-life 43200;                                  =
                                                                           =
                                                                           =
        </div><div>    ends 1 2024/09/09 21:49:48;                         =
                                                                           =
                                                                           =
     </div><div>  }                                                        =
                                                                           =
                                                                           =
  </div><div>}                                    </div></div></pre></div><=
div>I have explored various configuration parameters and compile-time optio=
ns to enable the display of hostnames and DUIDs in the lease file, but none=
 have proven effective. I would appreciate assistance from anyone who has e=
xperience with this or has any insights into resolving the issue.<br></div>=
<div><br></div><div>Thanks In advance=C2=A0</div><div>Kraishak</div><div><b=
r></div><div><br></div><div><br></div><div><br></div></div>

--00000000000088056c0621ad1149--

--===============0189927223670461060==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-- 
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.

dhcp-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/dhcp-users

--===============0189927223670461060==--