function resolveSrv
Jump to headingresolveSrv(hostname: string): Promise<SrvRecord[]>Uses the DNS protocol to resolve service records (SRV records) for the hostname. On success, the Promise is resolved with an array of objects with
the following properties:
priorityweightportname
{
priority: 10,
weight: 5,
port: 21223,
name: 'service.example.com'
}
Parameters Jump to heading
Jump to headinghostname: stringReturn Type Jump to heading
Promise<SrvRecord[]>