dhcp server sending host-name

Hi,

looking at the different way to change all the hostname of my servers that are booting using PXE, I’m trying to leverage the isc- dhclient https://kb.isc.org/docs/isc-dhcp-44-manual-pages-dhcp-options that handle host-name. I build a script that use host to do reverse DNS, but I have some issue doing so.

It seems to be part of the dhcp rfc https://www.rfc-editor.org/rfc/rfc1533#section-3.14

Is there a way to leverage such thing in the Mikrotik dhcp server?

Maritn

“This option is only honored if the hostname for the client machine is not set.”

Hi,

Thank for taking time to reply to my question. It is actually the case and when using a Linux machine running dnsmasq with this configuration line

dhcp-host=00:e0:66:59:88:8b,client1,192.168.78.51,set:diskless

it does assign the client1 to my device.

So trying to achieve similar behavior with the built-in customer Mikrotik DHCP,

Or I’ll try to setup etckeeper just to manage hostname. By I doubt there is no way to achieve this with Mikrotik DHCP server.

Rocky.