Skip to content

Domain (hostname) validation as a separate API #345

@harrel56

Description

@harrel56

Please describe the feature that you are requesting
Hi, is there any chance you would consider adding an API for domain validation, similarly as you did for ipv4 and ipv6 addresses? This would be really useful, as right now I'm considering reusing your domain validation logic by appending hostname with e.g. test@ (not sure yet if this is a viable solution/workaround). Or maybe I'm mistaken and what you do inside email validation cannot be exactly considered a proper domain validation? To be precise: I'm not interested in DNS or anything involving information coming from external sources (disposable domain, etc.) - just structural validation. I'd appreciate your input on that.

Thanks for this great lib,
cheers!

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions