Skip to content

NEWDEV_NAME_CLEANUP_REGEX handles home.arpa incorrectly, resulting in malformed hostnames #1383

@ps1noob

Description

@ps1noob

Is there an existing issue for this?

  • I have searched the existing open and closed issues

Is your feature request related to a problem? Please describe

Starting up a NetAlertX container with all the default settings in a home environment leveraging RFC 8375 (Special-Use Domain 'home.arpa.'), device names are formatted as 'NetBIOS hostname''arpa'.

Describe the solution you'd like

I would like the default NEWDEV_NAME_CLEANUP_REGEX to properly handle the home.arpa suffix.

The solution should be updated to:
Recognize .home.arpa as a valid local domain.
Strip the suffix entirely (preferred) to result in just 'NetBIOS hostname'.

Describe alternatives you've considered

I have considered manually adjusting the regex in my local configuration or renaming devices manually after discovery. However, since home.arpa is the official IETF standard for home networking, the default cleanup rules in NetAlertX should support this out of the box to prevent malformed names for new users.

Anything else?

This is based on RFC 8375 (Special-Use Domain 'home.arpa.'), which replaces legacy ad-hoc domains like .local or .lan. The current behavior makes the device list difficult to read for users adhering to this standard.

Am I willing to test this? 🧪

  • I will do my best to test this feature on the netlertx-dev image when requested within 48h and report bugs to help deliver a great user experience for everyone and not to break existing installations.

Can I help implement this? 👩‍💻👨‍💻

  • Yes
  • No

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature request ➕New feature or requestnext release/in dev image 🚀This is coming in the next release or was already released if the issue is Closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions