Skip to content

Additional DHCP client hostname validations #2952

@ainar-g

Description

@ainar-g

In #2946 we've added some validations for clients' hostnames. Some additional validations that we would like to add are:

  1. Hostname uniqueness validation among our DHCP clients.

  2. I'm not sure if we want this, but probably we should validate that the hostnames that clients send are actually valid domain name labels (that is, my-example-machine) as opposed to domain names (that is, my.example.machine).

    We decided to instead normalise the names using the algorithm described in this comment below.

@ameshkov, what do you think? Anything else I forgot?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions