Skip to content

@mega-yfue/eufy-sdk / resolveBrokerIps

Function: resolveBrokerIps()

ts
function resolveBrokerIps(hostname): Promise<string[]>;

Resolve current A records for the broker hostname. An NLB typically returns one IP per AZ, so this is normally a short list (2-3), not the dozen the DNS-round-robin theory implied.

Parameters

hostname

string

Returns

Promise<string[]>

Independent and unofficial. Not affiliated with, endorsed by, or sponsored by Anker Innovations, Anker eufy, or eufy. "Anker eufy", "eufy" and "Anker" are trademarks of their respective owners. Use responsibly — rapid or failed logins can trigger captcha or temporary cooldowns.