Skip to main content

Alias specific hostnames by regex to fully qualified domain name (FQDN)

Is there any way on linux to alias a group of hostnames (group specified by wildcards/regex) starting i.e c-* to fully qualified domain names



i.e





c-hostname -> c-hostname.domain.com




Thank you,



J.

Comments