Customizing mDNS via Source Code and Creating a Backup While Preserving the Custom mDNS

Hello, WLED community!
I’m trying to customize the WLED interface using the source code (platformio_override.ini) so that the data I need is preserved after a factory reset. I’ve modified the password and access point, but I’m having trouble changing the mDNS field.

Another important point is that I need to create a master backup for several modules without modifying the mDNS and other fields, including the last 6 digits of each module’s MAC address. Each ESP32 or ESP8266 board should have its own unique identity, similar to when WLED is first installed, but with the pins and functions I’ve enabled. Do you have any ideas on how to do this?

Thank you for your attention.

I found a way to create a master backup that can be installed on other ESP modules without modifying the MAC address. The method is as follows: generate the backup file (backup.json) and modify it, omitting the code sections where these values ​​are replaced.
I’m still looking for a way to customize the mDNS address through platformio_override.ini without directly modifying the code. =D