fqdn

Validates fully-qualified domain names against RFC 1123

pipmacoslinuxwindows
Try with needOr install directly
Source

About

Validates fully-qualified domain names against RFC 1123, so that they are acceptable to modern bowsers

Commands

fqdn

Examples

Validate a single domain name$ fqdn example.com
Validate multiple domain names$ fqdn example.com test.org subdomain.example.co.uk
Check if a domain is valid for browser compatibility$ fqdn my-domain-123.com