Hi Martin,
   At debuglevel 55, the "kea-dhcp4.ddns" logger generates messages:
"DHCP4_CLIENT_HOSTNAME_DATA" and "DHCP4_CLIENT_HOSTNAME_DATA" for DHCPOFFERs
and DHCPACKs. Both of these debug messages contain the clients hostname.

You will need to configure the "kea-dhcp4.ddns" logger with severity "DEBUG"
and define "debuglevel" to at least 55, as follows:

"loggers": {
        "name": "kea-dhcp4",
        "output_options": [ { "output": "kea-dhcp4.log" } ],
        "severity": "INFO"
},
{
        "name": "kea-dhcp4.ddns",
        "output_options": [ {
        "output": "kea-dhcp4.ddns.log" } ],
        "severity": "DEBUG",
        "debuglevel": 55
}

* The two loggers can be configured to send output to the same file.

/Peter

On 11/05/2026 17.32, martin f krafft via Kea-users wrote:

Hello,

I am new to Kea, so maybe this is a very silly question. However, I could not find out about my question in the logging docs <https://kea.readthedocs.io/en/stable/arm/logging.html>.

DHCP requests can include the client hostname (option 12), e.g.:

|Hostname (12), length 9: "tas-a1t-5" |

Is it possible to echo this in log messages? I am personally better at parsing these names than MAC addresses ;)

Thanks,

--

martin krafft | https://matrix.to/#/#madduck:madduck.net

windoze nt crashed.
i am the blue screen of death.
no one hears your screams.

spamtraps: [email protected]


--
Peter Davies
Support Engineer
Internet Systems Corporation
-- 
ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.
[email protected]

Reply via email to