Skip to content

Support for RFC 1123 hostname validation #433

@Maxk-Intezer

Description

@Maxk-Intezer

🚀 Feature Request

Please consider adding support for validating hostnames against RFC 1123, which defines valid DNS hostnames. This would be helpful for use cases where strict compliance is needed (e.g., infrastructure tools, domain name validation, security filters).

✅ RFC 1123 Requirements Summary

RFC 1123 hostnames must:

  • Only include letters (A–Z, a–z), digits (0–9), and hyphens (-)
  • Not begin or end with a hyphen
  • Be ≤ 253 characters total
  • Have each label ≤ 63 characters
  • Cannot contain underscores or other special characters

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions