Replies: 2 comments 1 reply
-
|
Thanks for the request. I guess something similar was already requested. I will get this implemented together with the DHCP server major upgrade that is planned. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Thank you, @ShreyasZare ! Apologies if there was a similar request; I didn't see one when searching, but I'll try to broaden my search on future requests. Keep up the great work and looking forward to the updates! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Allow administrators to edit and persist DHCP hostnames for dynamic leases without requiring a DHCP reservation. Hostnames should be associated with the device's MAC address and remain consistent across lease renewals, IP changes, and reboots.
Problem
Many devices either:
Today, the primary workaround is to create a DHCP reservation and assign a hostname there. While this works, it also requires assigning a static IP address, which is not always desirable.
In many environments, administrators may want a device to continue receiving dynamic IP assignments while still maintaining a meaningful and consistent hostname.
For example:
Currently there is no straightforward way to persist these custom names without converting the device to a DHCP reservation.
Proposed Solution
Introduce a hostname override mechanism that is independent of DHCP reservations.
GUI
Within the DHCP Leases page, allow administrators to:
Example:
If a hostname override exists, it should be displayed throughout the UI, including:
API
Add API endpoints to:
Using MAC address as the primary identifier.
Example:
{ "macAddress": "AA:BB:CC:DD:EE:FF", "hostName": "Garage-Weather-Sensor" }Behavior
When a lease is issued:
The override should remain effective regardless of:
Benefits
Use Cases
Additional Consideration
It may be useful to expose hostname overrides as a separate data store from DHCP reservations, allowing administrators to independently manage:
This would provide greater flexibility while maintaining backward compatibility with the existing DHCP reservation workflow.
Beta Was this translation helpful? Give feedback.
All reactions