Skip to content

Validation for routable IP in HostName #146

@bherw

Description

@bherw

It would be helpful to have a HostNameParameters option to reject HostNames that cannot be routed to.

For example, 0.0.0.0 is a valid IP address, but I'm trying to validate configurations that I need to push down to other systems to get them to connect to those hosts, and 0.0.0.0 isn't going to be a valid IP to connect to.

Since I'm just working with IPv4 right now, I can check the subnet in my HostName subclass, but it'd be nice to get this as a builtin--I'm not familiar with the rules for IPv6.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions