#59355make trustedHostsPattern use sys_domain records
Description
Configuring the regexp for trustedHostsPattern is really tedious in larger installations with lots of handled domains.
How about introducing a feature to use sys_domain records to determine if a HTTP_HOST is valid?