function resolveCname
Jump to headingresolveCname(hostname: string): Promise<string[]>Uses the DNS protocol to resolve CNAME records for the hostname. On success,
the Promise is resolved with an array of canonical name records available for
the hostname (e.g. ['bar.example.com']).
Parameters Jump to heading
Jump to headinghostname: stringReturn Type Jump to heading
Promise<string[]>