[Dnsmasq-discuss] Option 12 hostname sent to RPi seems incorrect

Shrenik Bhura shrenik.bhura at gmail.com
Tue Oct 19 11:50:04 UTC 2021

Option 12 hostname sent to RPi is the first octet of the IP address. This
seems incorrect.

For example, if the IP address is, the value visible in the
logs is -
*Oct 19 16:38:49 server dnsmasq-dhcp[14224]: 1870967312 sent size:  3
option: 12 hostname  192*
and so is in the value in /run/net-* on the Ubuntu booted client.

As a result of this misinformation, systems relying on the value are giving
undesired results. One such case being the ltsp project.

Issue ref: https://github.com/ltsp/ltsp/issues/582 which contains further

Attached is the log of RPi 4B netbooting.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20211019/1030f86e/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rpi_wrong_hostname_issue.log
Type: application/octet-stream
Size: 13916 bytes
Desc: not available
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20211019/1030f86e/attachment.obj>

More information about the Dnsmasq-discuss mailing list