The older static lease for DHCP in V5 had a more user-friendly interface, while the new V6 expose a text field for the user write a config file-like text.
While one can argue that the new interface is more powerful, it lacks the ease of use that was a fundamental cornerstone of Pi-Hole.
I suggest reverting to the old GUI, leaving this new one as an "advanced" option for those who want.
Wow, the new v6 DHCP lease GUI is quite a step back. Took me awhile to even see the Expert mode to set the static leases. Why not have a simple interface in the top Active Lease section to just have a check-box and save as static. Then just show the ones on the top that have a static designation, and the ones that don't they can just show that too. Maybe a column that says "save static" and you can see the ones saved. Just one list, and it can simply show the previous info from the 2 lists. One list is good, just keep it simple to show the static IP's that are set.
Should at least be able to sort columns such as IP address etc. That was nice in V5 where you could sort by IP easily. You could always export the text data, mass edit, and then import, as a way for the editing management. Then you've have best of both worlds.
I concur that the v5 GUI was a much friendlier interface. The simple ability to click on a DHCP lease and load it into the reservations window made things a snap.
A slight aside but connected to Static DHCP from v5 to v6:
I just discovered when I Teleported my v5 Static DHCP IP's, that ONE of the MAC addresses was defined as MA-CA-DD-RE-SS-ES as opposed to MA:CA:DD:RE:SS:ES (ie. using '-' instead of ':').
I'm presuming when I entered it in Pi-hole v5, this is how I entered it & v5 either was happy with it, or ignored that particular Static reservation.
When I used Teleporter to export my v5 settings, upgraded to v6 (with various issues) & then used Teleporter to import my settings into my new Pi-hole v6, DNS wouldn't work & every time I tried updating Pi-hole settings, it generated an update error. Eventually I worked out Pi-Hole v6 wasn't happy with the MAC address with '-' which had been read in by Teleporter from v5.
I guess either Teleporter needs to verify export/import such that only ':' are used in MAC addresses or else Pi-hole v6 Static DHCP MAC addresses needs to cope with either '-' or ':'
Another slight aside but connected to Pi-hole v6 Static DHCP management:
I kept getting this error in my upgraded Pi-hole v6:
Warning in dnsmasq core:
not using configured address 192.168.68.110 because it is in use by the server or relay
I think this was because my Static DHCP leases included the MAC address & IP assignment for my Pi-hole host which was on 192.168.68.110.
Again, this was something that was fine in my Pi-hole v5 & came over in the Teleport from v5 to v6.
I liked having my v5 Static DHCP leases 'complete' with everything in there & v5 seemed happy with that, but v6 Static DHCP lease management seems totally unforgiving
Well, on a vote for going back to the way dhcp was before, I realize that dhcp is not pi-hole's first and formost job but i don't think the devolpers realize how many acutally use that function. BTW I LOVE PI-Hole.....
Management of Static IP leases may not be Pi-holes 'primary' role, but personally I see it as a very high secondary role. I would like to see restoring of the previous UI or even something better, prioritised above all other fixes & updates.
I've really struggled with the current massive text-box functionality over the last few week's when needing to make changes & tweaks to my DHCP leases. So much so, I'm considering whether I should abandon Pi-Hole DHCP server & go back to my router or use something else.
"We probably should not accept static leases if DHCP is disabled to avoid issues.
If a user enters many invalid static leases while the DHCP server is disabled and later enables it, there will be issues."
I disagree with this. Even if the static DHCP leases are complete gibberish, they should still be stored (or imported by Teleporter), but it should not be possible to enable DHCP until the problems are sorted out (and obviously the errors/issues need to be highlighted so that the user can work through & fix them in order to enable DHCP).
I'm not exactly sure how to "vote" on this but I too am extremely disappointed in how the new DHCP reservations system UI/UX works on v6. I have had Pi Hole running my DHCP and reservations for over a year now and it's been fantastic. The whole reason I configured it in the first place was because my router's DHCP/Reservations interace is painfully slow and Pi Hole's is lighting fast and simple. Please please please bring back the old v5 interface. I also really like the suggestion to have the old interface be on the simple view and the new interface be on the expert view for the power users that prefer it.