javascript - Resolve multiple IPv4 addresses by a hostname -


i have different hosts in network , want ip addresses. (they known hostname address, i.e. foo.local) found several tools und programs find 1 ipv4 address, "the first 1 found" , can link locale address, doesn't fit implementation. since need program, library or program parseable output necessary.

why not using default dns module? doesn't seem work .local hostnames , network doesn't have dns server / router.

os ubuntu, platform node.js.

multicast dns might answer here, haven't found reliable module or other implementation yet. devices hostname resolve supporting multicast dns.


Comments

Popular posts from this blog

How to connect android app to App engine -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

php - display validation error message next to the textbox in codeigniter -